1
0

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 0f71fde675
commit dbbe1ac7c8
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<&-