forked from pool/systemd-presets-common-SUSE
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:
committed by
Git OBS Bridge
parent
0f71fde675
commit
dbbe1ac7c8
@@ -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<&-
|
||||
|
Reference in New Issue
Block a user