aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2020-03-06 14:29:41 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2020-03-06 14:29:41 +0000
commit8d3bb12e062e93b80f1afff22e6c5dbffb0d787e (patch)
treedb34a63f32d33c69af5e91eb9f0333571ce5613a /kiss
parent70bb8180b4f6aa1f399b7ac201e1963f71738a13 (diff)
downloadcpt-8d3bb12e062e93b80f1afff22e6c5dbffb0d787e.tar.gz
kiss: Revert tty change. Closes #119
FossilOrigin-Name: 1b590d3d11733d609b7973c2ccda5de01029a25bc32baa15c573e3a3a17b4c4d
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss7
1 files changed, 1 insertions, 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]'