aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinit.d/bootmisc3
1 files changed, 2 insertions, 1 deletions
diff --git a/init.d/bootmisc b/init.d/bootmisc
index 96024eba..19e8930b 100755
--- a/init.d/bootmisc
+++ b/init.d/bootmisc
@@ -134,7 +134,8 @@ stop() {
# Reset pam_console permissions if we are actually using it
if [ -x /sbin/pam_console_apply ] && ! [ -c /dev/.devfsd ] ; then
if grep -v -e '^[[:space:]]*#' /etc/pam.d/* | grep -q 'pam_console.so' ; then
- /sbin/pam_console_apply -r
+ /sbin/pam_console_apply -r
+ fi
fi
# Write a halt record if we're shutting down