diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2020-01-30 13:40:25 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2020-01-30 13:40:25 +0000 |
commit | 98679c45adc4137c96219cbf382fcc1873e3e1fc (patch) | |
tree | 227532028109b490acab2269d0f1d253768300d9 /kiss | |
parent | dd633006580f525d8bb245ae761226e26ebd5c2a (diff) | |
download | cpt-98679c45adc4137c96219cbf382fcc1873e3e1fc.tar.gz |
kiss: Harden sudo
FossilOrigin-Name: f767130118ee56c9c4492a445890681d637a7787b285e161088a9f731b76f8a8
Diffstat (limited to 'kiss')
-rwxr-xr-x | kiss | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -54,7 +54,7 @@ as_root() { log "Using '${su:-su}'" case $su in - *sudo) sudo -E "$@" ;; + *sudo) sudo -E -- "$@" ;; *doas) doas -- "$@" ;; *) su -pc "$* <&3" 3<&0 </dev/tty ;; esac @@ -1259,7 +1259,7 @@ args() { ;; v|version|-v|--version) - log kiss 1.1.5 + log kiss 1.1.6 ;; h|help|-h|--help|'') |