This commit is contained in:
kyodev 2018-02-19 07:39:34 +01:00
parent 11ce82d2b9
commit f65d87d3d2
1 changed files with 1 additions and 1 deletions

View File

@ -370,7 +370,7 @@ options=${options//--quiet/ }
[ "$options" ] || options="-h" # vide? help
# root requis
if [[ $* = @(i-*|r-*) && "$EUID" -ne 0 ]]; then
if [[ $* == @(i-*|r-*) && "$EUID" -ne 0 ]]; then
echo -en "$RED ROOT$BLUE requis\n "
f__sudo "exec $0 --quiet $@"
exit