mirror of https://framagit.org/kyodev/kyopages.git
maj
This commit is contained in:
parent
11ce82d2b9
commit
f65d87d3d2
|
@ -370,7 +370,7 @@ options=${options//--quiet/ }
|
||||||
[ "$options" ] || options="-h" # vide? help
|
[ "$options" ] || options="-h" # vide? help
|
||||||
|
|
||||||
# root requis
|
# root requis
|
||||||
if [[ $* = @(i-*|r-*) && "$EUID" -ne 0 ]]; then
|
if [[ $* == @(i-*|r-*) && "$EUID" -ne 0 ]]; then
|
||||||
echo -en "$RED ROOT$BLUE requis\n "
|
echo -en "$RED ROOT$BLUE requis\n "
|
||||||
f__sudo "exec $0 --quiet $@"
|
f__sudo "exec $0 --quiet $@"
|
||||||
exit
|
exit
|
||||||
|
|
Loading…
Reference in New Issue