mirror of
https://github.com/drakmor/ShadowMountPlus.git
synced 2026-10-22 06:32:25 -05:00
fix: wake runtime waiters when STOP file is detected
This commit is contained in:
1 parent
7b3c0bd9ba
commit
6b7dc2ced5
1 file changed
+1
-1
+1
-1
@@ -141,7 +141,7 @@ bool should_stop_requested(void) {
|
||||
}
|
||||
|
||||
if (remove(KILL_FILE) == 0) {
|
||||
g_stop_requested = 1;
|
||||
request_shutdown_stop("STOP file " KILL_FILE);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user