wok-next diff cups-pam/receipt @ rev 15642

postgis: race condition
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 09 21:00:49 2013 +0000 (2013-12-09)
parents 223b265f40fd
children 6fe50f4887f2
line diff
     1.1 --- a/cups-pam/receipt	Sat Sep 07 22:59:13 2013 +0000
     1.2 +++ b/cups-pam/receipt	Mon Dec 09 21:00:49 2013 +0000
     1.3 @@ -90,7 +90,7 @@
     1.4  {
     1.5  	local root
     1.6  	root=$1
     1.7 -	if [ -z "$root" ]; then
     1.8 +	if [ -z "$root" -a -x /etc/init.d/cupsd ]; then
     1.9  		/etc/init.d/cupsd stop
    1.10  	fi
    1.11  }