Skip to content

Commit

Permalink
tput fix
Browse files Browse the repository at this point in the history
fixed error in tput in some rare cases term is different in subshell.
  • Loading branch information
QROkes committed May 19, 2020
1 parent ed54b8b commit 83401f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/general
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/bin/bash

# Don't remove dumb re-check!
# Prevent 'tput' errors when running from Cron
[[ -z $TERM || $TERM == "unknown" ]] && TERM=dumb
[[ -z $TERM || $TERM == "unknown" || $TERM == "dumb" ]] && export TERM=dumb

readonly app_version="1.11.2"
readonly svr_version="1.4"
Expand Down

0 comments on commit 83401f2

Please sign in to comment.