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
|
# Elevate script
|
||||||
if [ ! "$UID" -eq 0 ]
|
if [ ! "$UID" -eq 0 ]
|
||||||
then
|
then
|
||||||
NEXTCLOUD_DIR="${NEXTCLOUD_DIR}" sudo bash "$BASH_SOURCE" "$USER";
|
sudo NEXTCLOUD_DIR="${NEXTCLOUD_DIR}" bash "$BASH_SOURCE" "$USER";
|
||||||
else
|
else
|
||||||
bin=oh-my-posh;
|
bin=oh-my-posh;
|
||||||
contextRoot="$(mktemp -d)";
|
contextRoot="$(mktemp -d)";
|
||||||
|
|
Loading…
Reference in a new issue