summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src.etc/rc.common4
1 files changed, 3 insertions, 1 deletions
diff --git a/src.etc/rc.common b/src.etc/rc.common
index 7bf1917..7ddc27e 100644
--- a/src.etc/rc.common
+++ b/src.etc/rc.common
@@ -52,7 +52,9 @@ main()
tty_printf()
{
- local tty="$(tty)" && printf "${@}" >"${tty}"
+ local tty=
+
+ tty="$(tty)" && printf "${@}" >"${tty}"
}
usage() {