- Fix return non-zero value when disabling SysVinit service(bsc#1208432)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1349
This commit is contained in:
parent
39a67a4176
commit
d8873256ba
@ -93,10 +93,10 @@ enable_initscript() {
|
||||
|
||||
disable_initscript() {
|
||||
for symlink in rc*.d/[SK]*; do
|
||||
[ -L $symlink ] && [ $(readlink $symlink) = "../$1" ] && {
|
||||
if [ -L $symlink ] && [ $(readlink $symlink) = "../$1" ]; then
|
||||
info "rm $(pwd)/$symlink"
|
||||
rm $symlink
|
||||
}
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 28 02:58:20 UTC 2023 - Lidong Zhong <lidong.zhong@suse.com>
|
||||
|
||||
- Fix return non-zero value when disabling SysVinit service(bsc#1208432)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 27 08:43:27 UTC 2023 - Franck Bui <fbui@suse.com>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user