mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-03-12 08:58:20 +03: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=. (cherry picked from commit c3ecb747f1e35f609f15fc94ad4d5e5ca0bda4a2) (cherry picked from commit b2496d151ae093974e6ecd3a6b3299e1ba5f3e23)
This commit is contained in:
parent
a442374107
commit
e0bb603e3e
@ -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…
x
Reference in New Issue
Block a user