diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-08-31 12:57:14 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-08-31 12:57:14 +0000 |
commit | 2dbc4b65d3ef5cc21a897ba127dce7807949edb2 (patch) | |
tree | 7392398db0243fea23962a94813d702e10009cc9 | |
parent | 156583a18433505db39c68888ded944c635a9633 (diff) | |
download | cpt-2dbc4b65d3ef5cc21a897ba127dce7807949edb2.tar.gz |
kiss: fix KISS_ROOT
FossilOrigin-Name: ad237f29a117919c9f1d9f9370a37b808e49b578a7fb1375c50e86b31f14066b
-rwxr-xr-x | kiss | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -967,7 +967,7 @@ args() { # Rerun the script with 'sudo' if the user isn't root. # Cheeky but 'sudo' can't be used on shell functions themselves. [ "$(id -u)" = 0 ] || { - sudo KISS_PATH=$KISS_PATH kiss "$action" "$@" + sudo -E kiss "$action" "$@" return } ;; |