Ignore:
Timestamp:
Jan 27, 2011, 7:31:24 PM (13 years ago)
Author:
Bruno Cornec
Message:

r4180@localhost: bruno | 2011-01-27 10:26:41 +0100

  • Fix multiple port issues from 2.2.9 that prevented mindi to work
  • Change interface of call_program_and_get_last_line_of_output to allow not logging (call to mindi)
  • Status is working boot, but NFS interface broken due to conf file issues
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mondo/src/common/libmondo-filelist.c

    r2696 r2704  
    874874    log_msg(6, "tmp = %s", tmp);
    875875
    876     tmp1 = call_program_and_get_last_line_of_output(tmp);
     876    tmp1 = call_program_and_get_last_line_of_output(tmp,TRUE);
    877877    mr_free(tmp);
    878878
     
    13771377
    13781378        mr_asprintf(tmp, "wc -l %s | awk '{print $1;}'", g_skeleton_filelist);
    1379         tmp1 = call_program_and_get_last_line_of_output(tmp);
     1379        tmp1 = call_program_and_get_last_line_of_output(tmp,TRUE);
    13801380        mr_free(tmp);
    13811381
     
    15451545        }
    15461546        make_hole_for_file(sz_datefile);
    1547         tmp1 = call_program_and_get_last_line_of_output("date +%s");
     1547        tmp1 = call_program_and_get_last_line_of_output("date +%s",TRUE);
    15481548        write_one_liner_data_file(sz_datefile, tmp1);
    15491549        mr_free(tmp1);
     
    15721572        }
    15731573        log_msg(1, "Calculating filelist");
    1574         tmp2 = call_program_and_get_last_line_of_output("mount | grep -Ew 'ntfs|ntfs-3g|fat|vfat|dos' | awk '{print $3}'");
     1574        tmp2 = call_program_and_get_last_line_of_output("mount | grep -Ew 'ntfs|ntfs-3g|fat|vfat|dos' | awk '{print $3}'",TRUE);
    15751575        if (strlen(tmp2) < 1) {
    15761576            mr_asprintf(tmp1," ");
     
    15791579            mr_asprintf(tmp1, "find %s -name '/win386.swp' -o -name '/hiberfil.sys' -o -name '/pagefile.sys' 2> /dev/null\n",tmp2);
    15801580            mr_free(tmp2);
    1581             tmp2 = call_program_and_get_last_line_of_output(tmp1);
     1581            tmp2 = call_program_and_get_last_line_of_output(tmp1,TRUE);
    15821582            log_msg(2, "Found windows files: %s",tmp2);
    15831583        }
Note: See TracChangeset for help on using the changeset viewer.