chiark / gitweb /
[PATCH] Minor POSIX-fixes for udev
[elogind.git] / etc / dev.d / default / pam_console.dev
index 7e95810e2c3d8bef9fc5417c151539cbcb971f1b..563051d7f61ba77224b15b627c87a9808a4e1dbd 100644 (file)
@@ -11,7 +11,7 @@ fi
 [ "$UDEV_CONSOLE" != "yes" ] && exit 0
 
 if [ -x /sbin/pam_console_setowner ]; then
-       if [ "$UDEV_LOG" = "yes" -a -x /usr/bin/logger ]; then 
+       if [ "$UDEV_LOG" = "yes" ] && [ -x /usr/bin/logger ]; then 
                /usr/bin/logger -p auth.debug "Restoring console permissions for $DEVNAME"
        fi
        exec /sbin/pam_console_setowner $DEVNAME