slitaz-tools diff boxes/scp-box @ rev 1037

tazbox: lxpolkit support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 23 10:41:01 2021 +0000 (2021-10-23)
parents bffe37afb546
children
line diff
     1.1 --- a/boxes/scp-box	Sun Nov 08 22:09:10 2015 +0200
     1.2 +++ b/boxes/scp-box	Sat Oct 23 10:41:01 2021 +0000
     1.3 @@ -109,7 +109,7 @@
     1.4  	else
     1.5  		host=$(echo $main | cut -d "|" -f 3)
     1.6  	fi
     1.7 -	if [ "$host" == "(null)" ] || [ ! "$host" ]; then
     1.8 +	if [ "$host" = "(null)" ] || [ ! "$host" ]; then
     1.9  		echo "No host, exit"; exit 0
    1.10  	fi
    1.11