[X2Go-Commits] [live-build-x2go] 01/38: fixed whitespace detection around cmdline parameters
git-admin at x2go.org
git-admin at x2go.org
Fri Apr 28 11:56:46 CEST 2017
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch feature/fvwm
in repository live-build-x2go.
commit a15297c5e3c3107f648804e9ba9737c56f7437b9
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date: Sat Dec 31 20:21:23 2016 +0100
fixed whitespace detection around cmdline parameters
---
config/includes.chroot/lib/live/config/2100-lockuser | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/includes.chroot/lib/live/config/2100-lockuser b/config/includes.chroot/lib/live/config/2100-lockuser
index 7f89531..1cbcc15 100755
--- a/config/includes.chroot/lib/live/config/2100-lockuser
+++ b/config/includes.chroot/lib/live/config/2100-lockuser
@@ -10,7 +10,7 @@ echo -n " lockuser"
# Set password
#
-if grep -q " *nouser *" /proc/cmdline ; then
+if grep -q "\W*nouser\W*" /proc/cmdline ; then
passwd -l user >/dev/null
fi
--
Alioth's /srv/git/code.x2go.org/live-build-x2go.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
More information about the x2go-commits
mailing list