diff --git a/scripts/update-systemd-from-27-to-238.sh b/scripts/update-systemd-from-27-to-238.sh index 5e6c16ee9..33882d897 100755 --- a/scripts/update-systemd-from-27-to-238.sh +++ b/scripts/update-systemd-from-27-to-238.sh @@ -9,7 +9,7 @@ if ! { hostconfig mx64; }; then exit 1 fi -if { systemd --version 2>&1 1>/dev/null; }; then +if { systemd --version > /dev/null 2>&1; }; then echo "systemd 238 is already running. Nothing to do." exit 0 fi