user in parameters can be in both format (root,asroot)

1.3
Lukas Macura 2016-04-15 08:03:50 +02:00
parent 1ae74f8da9
commit 536190b1be
1 changed files with 7 additions and 7 deletions

View File

@ -4,7 +4,7 @@ Description::
Plugin which will make deeper look into directory structure using discovery
::
Version: 0.4
Version: 0.5
Url: https://raw.githubusercontent.com/limosek/zaf-plugins/master/fsx
Web: https://github.com/limosek/zaf-plugins/
Maintainer: Lukas Macura <lukas@macura.cz>
@ -93,9 +93,9 @@ Script::
#!/bin/sh
case $1 in
asroot)
asroot|root)
shift; exec sudo -E -n $0 "$@";;
aszabbix)
aszabbix|zabbix)
shift;;
esac
. $ZAF_LIB_DIR/preload.sh
@ -121,9 +121,9 @@ Script::
#!/bin/sh
case $1 in
asroot)
asroot|root)
shift; exec sudo -E -n $0 "$@";;
aszabbix)
aszabbix|zabbix)
shift;;
esac
. $ZAF_LIB_DIR/preload.sh
@ -146,9 +146,9 @@ Script::
#!/bin/sh
case $1 in
asroot)
asroot|root)
shift; exec sudo -E -n $0 "$@";;
aszabbix)
aszabbix|zabbix)
shift;;
esac
. $ZAF_LIB_DIR/preload.sh