diff options
Diffstat (limited to 'core/toggle')
-rwxr-xr-x | core/toggle | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/toggle b/core/toggle index bfb96d2..54dcc8d 100755 --- a/core/toggle +++ b/core/toggle @@ -3,5 +3,5 @@ . "$core_path/update" -[ "$state" = 'running' ] && exec "$prog" pause || exec "$prog" start +[ $running -eq 1 ] && exec "$prog" pause || exec "$prog" start |