Fix ignore_mode. 'hibernate' not properly assigned
This commit is contained in:
parent
636be47198
commit
db048cfe82
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue