Correction : erreur shellcheck dans qemush
cd sans gestion des erreurs
This commit is contained in:
parent
f9f3db7bfd
commit
e9df504f59
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ exec_as() {
|
||||||
if [ "$(whoami)" != "$user" ]; then
|
if [ "$(whoami)" != "$user" ]; then
|
||||||
exec sudo -u "$user" "$0" "$@"
|
exec sudo -u "$user" "$0" "$@"
|
||||||
else
|
else
|
||||||
cd
|
cd || return
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue