Skip to content

Commit ae53f2b

Browse files
committed
shell check failure addressed
Signed-off-by: Abhishek Sinha <[email protected]>
1 parent 123cf16 commit ae53f2b

File tree

1 file changed

+1
-1
lines changed
  • Runner/suites/Platform/systemd

1 file changed

+1
-1
lines changed

Runner/suites/Platform/systemd/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Function to check if systemd is running with PID 1
66
directory=$(dirname "$0")
77
check_systemd_pid() {
8-
if [ "$(ps -p 1 -o comm=)" == "systemd" ]; then
8+
if [ "$(ps -p 1 -o comm=)" = "systemd" ]; then
99
echo "PASS: Check systemd PID" > $directory/CheckSystemdPID.res
1010
else
1111
echo "FAIL: Check systemd PID" > $directory/CheckSystemdPID.res

0 commit comments

Comments
 (0)