From 8d3bb12e062e93b80f1afff22e6c5dbffb0d787e Mon Sep 17 00:00:00 2001 From: "dylan.araps@gmail.com" Date: Fri, 6 Mar 2020 14:29:41 +0000 Subject: kiss: Revert tty change. Closes #119 FossilOrigin-Name: 1b590d3d11733d609b7973c2ccda5de01029a25bc32baa15c573e3a3a17b4c4d --- kiss | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/kiss b/kiss index 728e3ec..26f96df 100755 --- a/kiss +++ b/kiss @@ -1219,11 +1219,6 @@ args() { die "Arguments contain invalid characters: '!*[]'" esac - # Abort early if output is not a TTY and the requirement is that it - # be so (password prompts, user input, etc). This is a safeguard. - [ "${action##[bciru]*}" ] || [ -t 1 ] || - die "Output not a tty" - # Parse some arguments earlier to remove the need to duplicate code. case $action in c|checksum|s|search) @@ -1315,7 +1310,7 @@ args() { l|list) pkg_list "$@" ;; u|update) pkg_updates ;; s|search) for pkg; do pkg_find "$pkg" all; done ;; - v|version) log kiss 1.7.5 ;; + v|version) log kiss 1.7.6 ;; h|help|-h|--help|'') log 'kiss [a|b|c|i|l|r|s|u|v] [pkg] [pkg] [pkg]' -- cgit v1.2.3