diff --git a/scripts/sdeb b/scripts/sdeb index caa51d7..6c415fb 100755 --- a/scripts/sdeb +++ b/scripts/sdeb @@ -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