diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-09-18 22:14:04 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-09-18 22:14:04 +0200 |
commit | e820d099b9a5c68ddcc77f2af51dc7cd5be0e649 (patch) | |
tree | b717e063152e1dc34a3d9e20ab2e12f34b26f4b6 | |
parent | 4018b1dcc0856678e07ff21292b41b6b3f2e49b5 (diff) |
[aumount] cleanup
-rwxr-xr-x | bin/common/aumount | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/common/aumount b/bin/common/aumount index cbc5c8b..8a2b785 100755 --- a/bin/common/aumount +++ b/bin/common/aumount @@ -4,11 +4,12 @@ tmp="$(mktemp)" test "$(id -u)" != "0" && sudo="sudo" logn () { >&2 printf "%s\n" "$@"; } +log () { >&2 printf '%s' "$@"; } # Read one character read_char () { - logn -n ">" + log ">" old_stty_cfg=$(stty -g) stty raw dd ibs=1 count=1 2> /dev/null |