From: Sami Kerola Date: Sat, 9 Jun 2012 21:20:04 +0000 (+0200) Subject: uuidd: use output redirection which works [checkbashisms] X-Git-Tag: v2.22-rc1~277^2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7244ad8c09c910f0f08167ffc3d20005d07e5847;p=thirdparty%2Futil-linux.git uuidd: use output redirection which works [checkbashisms] possible bashism in misc-utils/uuidd.rc line 52 (should be >word 2>&1): if pidofproc -p $PIDFILE $DAEMON >& /dev/null ; then Signed-off-by: Sami Kerola --- diff --git a/misc-utils/uuidd.rc b/misc-utils/uuidd.rc index dbdd5f5c39..d10fced4ac 100644 --- a/misc-utils/uuidd.rc +++ b/misc-utils/uuidd.rc @@ -49,7 +49,7 @@ case "$1" in log_end_msg $? ;; status) - if pidofproc -p $PIDFILE $DAEMON >& /dev/null ; then + if pidofproc -p $PIDFILE $DAEMON >/dev/null 2>&1; then echo "$DAEMON is running"; exit 0; else