aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkiss3
1 files changed, 2 insertions, 1 deletions
diff --git a/kiss b/kiss
index 69e2d05..a95fd0b 100755
--- a/kiss
+++ b/kiss
@@ -55,7 +55,8 @@ as_root() {
elif command -v doas >/dev/null; then
KISS_FORCE="$KISS_FORCE" doas "$@"
else
- su -pc "KISS_FORCE=$KISS_FORCE $*"
+ exec 3<&0
+ su -pc "KISS_FORCE=$KISS_FORCE $* <&3" </dev/tty
fi
exit