Skip to content

Commit

Permalink
config monitor: Don't quit without signal
Browse files Browse the repository at this point in the history
  • Loading branch information
nick87720z committed Jun 1, 2021
1 parent e8284df commit 6114b42
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backlight-adaptive
Original file line number Diff line number Diff line change
Expand Up @@ -632,9 +632,11 @@ fi

# setup config change monitor
if $watch_conf && [ -n "$config_file" ]; then {
while :; do
inotifywait -q -e modify "$config_file"
msg_info 'Configuration changed'
kill -s USR1 $$
done
} & monpid=$!; fi

# silence job control
Expand Down

0 comments on commit 6114b42

Please sign in to comment.