Fix malformed sudo command
This commit is contained in:
parent
5f0bb48408
commit
ad61f739c2
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ NEXTCLOUD_DIR="${NEXTCLOUD_DIR}";
|
|||
# Elevate script
|
||||
if [ ! "$UID" -eq 0 ]
|
||||
then
|
||||
NEXTCLOUD_DIR="${NEXTCLOUD_DIR}" sudo bash "$BASH_SOURCE" "$USER";
|
||||
sudo NEXTCLOUD_DIR="${NEXTCLOUD_DIR}" bash "$BASH_SOURCE" "$USER";
|
||||
else
|
||||
bin=oh-my-posh;
|
||||
contextRoot="$(mktemp -d)";
|
||||
|
|
Loading…
Reference in a new issue