wok diff barnyard2/receipt @ rev 19039

Webian Shell - again
author Leonardo Laporte <hackdorte@sapo.pt>
date Fri Apr 15 09:08:59 2016 -0300 (2016-04-15)
parents fca172c323cf
children 324c13268efe
line diff
     1.1 --- a/barnyard2/receipt	Fri Dec 04 17:18:44 2015 +0200
     1.2 +++ b/barnyard2/receipt	Fri Apr 15 09:08:59 2016 -0300
     1.3 @@ -42,7 +42,7 @@
     1.4  	fi
     1.5  
     1.6  	# adduser snort if needed
     1.7 -	if ! grep -q 'snort:' $1/etc/passwd; then
     1.8 +	if ! grep -q 'snort:' "$1/etc/passwd"; then
     1.9  		action 'Adding user Snort...'
    1.10  		chroot "$1/" /bin/adduser -s /bin/false -h /dev/null \
    1.11  			-g "Snort Daemon user" -H -D -S -G snort snort