Only delete /etc/nologin if we can write to it

This commit is contained in:
Roy Marples 2009-07-09 13:32:27 +01:00
parent 7962218dd8
commit 08b5664668

View File

@ -150,7 +150,7 @@ start()
fi
fi
rm -f /etc/nologin
[ -w /etc/nologin ] && rm -f /etc/nologin
return 0
}