mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-12 19:08:27 +00:00
Set TERM to "dumb" if TERM is not set
Set environment variable TERM to "dumb" if it is not set. This suppresses errors from "tput", which are shown in eg. "systemctl status arkmanager.service". The error which tput gives without TERM set is "tput: No value for $TERM and no -T specified".
This commit is contained in:
parent
744d797a9e
commit
45c887f090
@ -20,6 +20,9 @@
|
||||
#
|
||||
### END INIT INFO
|
||||
|
||||
# Set TERM to "dumb" if TERM is not set
|
||||
export TERM=${TERM:-dumb}
|
||||
|
||||
# Global variables
|
||||
source /etc/arkmanager/arkmanager.cfg
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user