Changeset 434 for trunk


Ignore:
Timestamp:
Mar 5, 2006, 2:53:49 AM (13 years ago)
Author:
andree
Message:

Removed 'ax' options from ps call when checking for ntfsclone is still
running - busybox 1.1.0 ps doesn't like them and we don't need them.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mondo/mondo/mondorestore/mondo-restore.c

    r426 r434  
    16341634        log_msg(3, "Waiting for ntfsclone to finish");
    16351635        sprintf(tmp,
    1636                 " ps ax | grep \" ntfsclone \" | grep -v grep > /dev/null 2> /dev/null");
     1636                " ps | grep \" ntfsclone \" | grep -v grep > /dev/null 2> /dev/null");
    16371637        while (system(tmp) == 0) {
    16381638            sleep(1);
     
    18871887        log_msg(3, "Waiting for ntfsclone to finish");
    18881888        sprintf(tmp,
    1889                 " ps ax | grep \" ntfsclone \" | grep -v grep > /dev/null 2> /dev/null");
     1889                " ps | grep \" ntfsclone \" | grep -v grep > /dev/null 2> /dev/null");
    18901890        while (system(tmp) == 0) {
    18911891            sleep(1);
Note: See TracChangeset for help on using the changeset viewer.