slitaz-tools diff tinyutils/subox @ rev 542

Added tag 4.0.2 for changeset f701389ed812
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Jan 23 00:57:30 2011 +0000 (2011-01-23)
parents 86a3ff3ffade
children
line diff
     1.1 --- a/tinyutils/subox	Fri Oct 22 14:31:39 2010 +0000
     1.2 +++ b/tinyutils/subox	Sun Jan 23 00:57:30 2011 +0000
     1.3 @@ -73,8 +73,9 @@
     1.4  # Check if we have a saved passwd.
     1.5  if [ -s $HOME/.config/slitaz/subox.conf ]; then
     1.6  	PASSWD=`cat $HOME/.config/slitaz/subox.conf`
     1.7 -		[ -n "$PASSWD" ] && SU_DIALOG="$SU_DIALOG <default>$PASSWD</default>" && AUTO_SAVED_PASSWD=true
     1.8 -else {AUTO_SAVED_PASSWD=false}	
     1.9 +	[ -n "$PASSWD" ] && SU_DIALOG="$SU_DIALOG <default>$PASSWD</default>" && AUTO_SAVED_PASSWD=true
    1.10 +else 
    1.11 +AUTO_SAVED_PASSWD=false
    1.12  fi
    1.13  
    1.14  export SU_DIALOG=''${SU_DIALOG}'