cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit d4d5a5f001bf9a3b468ea87003c87d0c1bfaf11d
parent 26a20c9738712ba6a3df76ac8b65012cc9a0327c
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Thu, 30 Jan 2020 15:40:26 +0200

kiss: Harden sudo

Diffstat:
Mkiss | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kiss b/kiss @@ -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|'')