Accepting request 1093778 from home:kukuk:branches:Base:System

- Don't call systemctl list-unit-files with an empty argument,
  this will break enabling of system unit files [bsc#1212496]

OBS-URL: https://build.opensuse.org/request/show/1093778
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-presets-common-SUSE?expand=0&rev=60
This commit is contained in:
Johannes Segitz 2023-06-19 13:03:53 +00:00 committed by Git OBS Bridge
parent 07a648b534
commit f4009d83e1
2 changed files with 7 additions and 1 deletions

View File

@ -69,7 +69,7 @@ apply_preset_state_changes () {
exec 3<&-
done
if test -x /usr/bin/systemctl ; then
/usr/bin/systemctl list-unit-files "$GLOBAL"
/usr/bin/systemctl list-unit-files $GLOBAL
fi >systemd_preset-states.rpm-tmp
exec 3<systemd_preset-states.rpm-tmp
read -u3 PAD

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jun 19 12:48:36 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
- Don't call systemctl list-unit-files with an empty argument,
this will break enabling of system unit files [bsc#1212496]
-------------------------------------------------------------------
Fri Jun 9 14:22:41 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>