rpm/systemd-update-helper: use 'enqueue-marked-jobs'
Without this, a warning is emitted on upgrades.
Follow-up for c008f88ded.
This commit is contained in:
committed by
Luca Boccassi
parent
afaca649ad
commit
e9abcd9b26
@@ -99,7 +99,7 @@ case "$command" in
|
||||
fi
|
||||
|
||||
if [[ "$command" =~ restart ]]; then
|
||||
systemctl reload-or-restart --marked
|
||||
systemctl enqueue-marked-jobs
|
||||
fi
|
||||
;;
|
||||
|
||||
@@ -120,7 +120,7 @@ case "$command" in
|
||||
|
||||
for user in $users; do
|
||||
SYSTEMD_BUS_TIMEOUT={{UPDATE_HELPER_USER_TIMEOUT_SEC}}s \
|
||||
systemctl --user -M "$user@" reload-or-restart --marked &
|
||||
systemctl --user -M "$user@" enqueue-marked-jobs &
|
||||
done
|
||||
wait
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user