Skip to content

Commit fecbb97

Browse files
committed
Removed usage of unused variable directory and bug in res_file variable name
Signed-off-by: Abhishek Sinha <[email protected]>
1 parent 7302036 commit fecbb97

File tree

1 file changed

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

1 file changed

+1
-2
lines changed

Runner/suites/Platform/systemd/run.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# SPDX-License-Identifier: BSD-3-Clause-Clear
44

55
# Function to check if systemd is running with PID 1
6-
directory=$(dirname "$0")
76

87
# Robustly find and source init_env
98
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
@@ -83,7 +82,7 @@ check_systemctl_start() {
8382
echo "$TESTNAME PASS" > "$res_file"
8483
else
8584
log_fail "Failed to start service with systemctl command"
86-
echo "$TESTNAME FAIL" > "$res_File"
85+
echo "$TESTNAME FAIL" > "$res_file"
8786
ANY_SUBTEST_FAILED="true"
8887
fi
8988
log_info "----------------------------------------------------"

0 commit comments

Comments
 (0)