]> err.no Git - util-linux/commitdiff
uuidd: fix $PIDFILE in uuidd.rc
authorKarel Zak <kzak@redhat.com>
Tue, 30 Jun 2009 13:10:20 +0000 (15:10 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 30 Jun 2009 13:10:20 +0000 (15:10 +0200)
.. that's very probably a typo.

Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/uuidd.rc

index d35645a10b41a7b3623fbd63cbfe0c0bb5f59536..e6bc7640aab7b1036987d27267d6df6b2a7ecc75 100644 (file)
@@ -38,7 +38,7 @@ case "$1" in
            exit 0;
        else
            echo "$DAEMON is NOT running";
-           if test -f /var/run/uuidd.pid; then exit 2; fi
+           if test -f $PIDFILE; then exit 2; fdi
            exit 3;
        fi
        ;;