chiark / gitweb /
Fix typo in buildd-reboot
authorJulien Cristau <jcristau@debian.org>
Thu, 19 Feb 2015 09:52:29 +0000 (10:52 +0100)
committerJulien Cristau <jcristau@debian.org>
Thu, 19 Feb 2015 09:52:29 +0000 (10:52 +0100)
Signed-off-by: Julien Cristau <jcristau@debian.org>
buildd-reboot

index d77667dfa1c627de2dd99ec05907820f9977b077..4b0b91fe05144ce30aff20faf89569beeaac7b76 100755 (executable)
@@ -93,7 +93,7 @@ buildd_wait_and_reboot() {
        done
        echo
 
-       if pgrep -u buildd -x buildd || pgrep -u buildd2 - x buildd; then
+       if pgrep -u buildd -x buildd || pgrep -u buildd2 -x buildd; then
                echo "pidfile is gone, but buildd process still runs"
                while pgrep -u buildd -x buildd ; do
                        echo -n "."