Bug 13643 - bad ps syntax
: bad ps syntax
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/fsbackup)
: unstable
: all Linux
: P2 minor
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2007-12-10 02:26 by
Modified: 2009-05-10 09:33 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2007-12-10 02:26:52
create_backup.sh | mail -s "`uname -n` backup report" root
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html

В /usr/sbin/create_backup.sh:
# Защита от повторного запуска двух копий fsbackup.pl
IDLE=`ps -auxwww | grep fsbackup.pl | grep -v grep`
if [ "$IDLE" != "" ];  then
    echo "!!!!!!!!!!!!!!! `date` Backup dup"
    exit
fi
------- Comment #1 From 2007-12-10 13:27:37 -------
Fixed in 1.2pl2-alt2.