Accepting request 1093930 from home:alarrosa:branches:Base:System

- Fix another case of systemctl being called with an empty
  argument. This if a preemptive fix for a similar issue to
  bsc#1212496.

OBS-URL: https://build.opensuse.org/request/show/1093930
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-presets-common-SUSE?expand=0&rev=61
This commit is contained in:
Johannes Segitz 2023-06-20 09:38:41 +00:00 committed by Git OBS Bridge
parent f4009d83e1
commit 10c2843411
2 changed files with 8 additions and 1 deletions

View File

@ -99,7 +99,7 @@ apply_preset_state_changes () {
fi
if test "$ENABLE_OLD" != "$ENABLE_NEW" ; then
echo "Resetting $SERVICE to the new default: $ENABLE_NEW"
/usr/bin/systemctl preset "$GLOBAL" "$SERVICE" || :
/usr/bin/systemctl preset $GLOBAL "$SERVICE" || :
fi
done
exec 3<&-

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Jun 20 08:42:27 UTC 2023 - Antonio Larrosa <alarrosa@suse.com>
- Fix another case of systemctl being called with an empty
argument. This if a preemptive fix for a similar issue to
bsc#1212496.
-------------------------------------------------------------------
Mon Jun 19 12:48:36 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>