We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 123cf16 commit ae53f2bCopy full SHA for ae53f2b
Runner/suites/Platform/systemd/run.sh
@@ -5,7 +5,7 @@
5
# Function to check if systemd is running with PID 1
6
directory=$(dirname "$0")
7
check_systemd_pid() {
8
- if [ "$(ps -p 1 -o comm=)" == "systemd" ]; then
+ if [ "$(ps -p 1 -o comm=)" = "systemd" ]; then
9
echo "PASS: Check systemd PID" > $directory/CheckSystemdPID.res
10
else
11
echo "FAIL: Check systemd PID" > $directory/CheckSystemdPID.res
0 commit comments