diff options
-rw-r--r-- | code/fm/fm.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/code/fm/fm.rb b/code/fm/fm.rb index a6054052..1bf74081 100644 --- a/code/fm/fm.rb +++ b/code/fm/fm.rb @@ -117,6 +117,7 @@ module Fm def main_loop bool = false while true + exit if Process.ppid == 1 if @pwd.size == 0 or @pwd.pos < 0 @pwd.pos = 0 elsif @pwd.pos >= @pwd.size - 1 |