Fix ignore_mode. 'hibernate' not properly assigned

This commit is contained in:
John Mertz 2024-03-08 11:59:21 -07:00
parent 636be47198
commit db048cfe82
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ OPFILE="$HOME/.spool/active_outputs"
IDLEMODE=$(cat $HOME/.spool/idle_mode) IDLEMODE=$(cat $HOME/.spool/idle_mode)
if [[ -n $2 ]]; then if [[ -n $2 ]]; then
if [[ $2 == '--ignore_mode' ]]; then if [[ $2 == '--ignore_mode' ]]; then
$IDLEMODE='hibernate' IDLEMODE='hibernate'
else else
echo "Unknown mode $IDLEMODE" echo "Unknown mode $IDLEMODE"
exit exit