Skip to content

Commit e4c5af2

Browse files
committed
fix: Remove incorrect stopping signal in virtiofsd event handler
- Remove incorrect "stopping" notification when processes are starting - The handler shouldn't determine stopping state as it can't reliably detect it fixes #382
1 parent 966a80e commit e4c5af2

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

nixos-modules/microvm/virtiofsd/supervisord-event-handler.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ def main():
3737
if count >= expected_count:
3838
subprocess.run(["systemd-notify", "--ready"])
3939

40-
if count <= 0:
41-
subprocess.run(["systemd-notify", "--stopping"])
42-
4340
write_stdout('RESULT 2\nOK')
4441

4542

0 commit comments

Comments
 (0)