From 60adadff73fa29842ee1fab05bd09f164c967092 Mon Sep 17 00:00:00 2001 From: "Manuel Amador (Rudd-O)" Date: Fri, 28 Oct 2016 05:02:53 +0000 Subject: [PATCH] Invert logic of systemd_version_changed. --- init/functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init/functions b/init/functions index 76413e4..5cf08db 100644 --- a/init/functions +++ b/init/functions @@ -29,9 +29,9 @@ systemd_version_changed() { under_systemd || return systemd_pkg_version=`systemctl --version|head -n 1` if dmesg | grep -q "$systemd_pkg_version running in system mode."; then - return 0 + return 1 fi - return 1 + return 0 } possibly_run_save_script() {