Bug 13643 - bad ps syntax
Summary: bad ps syntax
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: fsbackup (show other bugs)
Version: unstable
Hardware: all Linux
: P2 minor
Assignee: Nobody's working on this, feel free to take it
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-10 02:26 MSK by Andrew Kornilov
Modified: 2009-05-10 09:33 MSD (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Kornilov 2007-12-10 02:26:52 MSK
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 Vladimir V. Kamarzin 2007-12-10 13:27:37 MSK
Fixed in 1.2pl2-alt2.