mirror of
https://github.com/systemd/systemd.git
synced 2024-11-27 04:03:36 +08:00
TEST-80-NOTIFYACCESS: don't specify --pid= if MAINPID= is provided explicitly
Otherwise, with recent additions, the MAINPIDFDID= generated by systemd-notify would mismatch with overridden MAINPID=.
This commit is contained in:
parent
e2037d07c0
commit
c3ecb747f1
@ -39,7 +39,7 @@ sync_in b
|
||||
sync_in d
|
||||
|
||||
# Move main process back to toplevel
|
||||
systemd-notify --pid=parent "MAINPID=$$"
|
||||
systemd-notify "MAINPID=$$"
|
||||
|
||||
# Should be dropped again
|
||||
systemd-notify --status="BOGUS2" --pid=parent
|
||||
|
Loading…
Reference in New Issue
Block a user