slitaz-tools rev 788
completed fr.po i18n support
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Dec 20 09:30:54 2012 +0100 (2012-12-20) |
parents | d8feb9544fc7 277277e6fb08 |
children | 4b6801976da3 |
files |
line diff
1.1 --- a/tazbox/tazbox Thu Dec 20 09:29:24 2012 +0100 1.2 +++ b/tazbox/tazbox Thu Dec 20 09:30:54 2012 +0100 1.3 @@ -264,8 +264,8 @@ 1.4 # Keep command in an exported variable to be used by Yad. 4 arguments 1.5 # should be enuff: appname --opt --opt -v /dev/sda. Nothing to do if 1.6 # we are root. 1.7 - test $(id -u) = 0 && exec $2 $3 $4 $5 1.8 - export SU_CMD="$2 $3 $4 $5" 1.9 + test $(id -u) = 0 && exec ${@:2} 1.10 + export SU_CMD="${@:2}" 1.11 # Check if a password has been saved before launching main dialog 1.12 if [ -s $HOME/.config/slitaz/subox.conf ]; then 1.13 PASSWD=$(cat $HOME/.config/slitaz/subox.conf)