Commit 306cefd6 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm release-upgrade: drop extra arg from is_active_systemd

parent 7948da03
...@@ -44,7 +44,7 @@ assure_safe_run() ...@@ -44,7 +44,7 @@ assure_safe_run()
# run under screen, check if systemd will not kill our processes # run under screen, check if systemd will not kill our processes
local res local res
if ! is_active_systemd systemd ; then if ! is_active_systemd ; then
return return
fi fi
...@@ -184,7 +184,7 @@ __check_system() ...@@ -184,7 +184,7 @@ __check_system()
shift shift
# sure we have systemd if systemd is running # sure we have systemd if systemd is running
if is_active_systemd systemd ; then if is_active_systemd ; then
docmd epm --skip-installed install systemd || fatal docmd epm --skip-installed install systemd || fatal
fi fi
...@@ -198,7 +198,7 @@ __check_system() ...@@ -198,7 +198,7 @@ __check_system()
fi fi
# switch from prefdm: https://bugzilla.altlinux.org/show_bug.cgi?id=26405#c47 # switch from prefdm: https://bugzilla.altlinux.org/show_bug.cgi?id=26405#c47
if is_active_systemd systemd ; then if is_active_systemd ; then
if serv display-manager exists || serv prefdm exists ; then if serv display-manager exists || serv prefdm exists ; then
# don't stop running X server! # don't stop running X server!
# docmd serv dm off # docmd serv dm off
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment