diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2020-01-30 09:56:06 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2020-01-30 09:56:06 +0000 |
commit | fd0a3ce1fa48d19928addd5f912919ff638d097e (patch) | |
tree | d2e8e029bd360400d55aaf7fc0f0e31fa2619e4b | |
parent | 4e8a730edd14637232796d2a5549949d406ee7f9 (diff) | |
download | cpt-fd0a3ce1fa48d19928addd5f912919ff638d097e.tar.gz |
doas: Fix path issue
FossilOrigin-Name: 7ad48bac5850e90bfc1129cfd9db37b2a4cea5d90f8fdaad9008492ace02ef8d
-rwxr-xr-x | kiss | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -54,7 +54,7 @@ as_root() { case $su in *sudo) sudo -u "${user:-root}" -E sh -c "$*" ;; - *doas) doas -u "${user:-root}" sh -c "$*" ;; + *doas) doas -u "${user:-root}" sh -c "KISS_PATH='$KISS_PATH' $*" ;; *) su -pc "$* <&3" "${user:-root}" 3<&0 </dev/tty ;; esac |