Permalink
Browse files

Merge branch 'master' of github.com:naparuba/shinken

  • Loading branch information...
naparuba committed Jul 12, 2012
2 parents 24911a1 + c083d91 commit 6a8db590cac94f9cf9870625a2d83619472a211e
Showing with 1 addition and 1 deletion.
  1. +1 −1 install
View
@@ -248,7 +248,7 @@ function setdirectives(){
function create_user(){
cadre "Creating user" green
- if [ ! -z "$(cat /etc/passwd | grep $SKUSER)" ]
+ if grep -q "^${SKUSER}:" /etc/passwd;
then
cecho " > User $SKUSER already exists" yellow
else

0 comments on commit 6a8db59

Please sign in to comment.