Skip to content

Commit

Permalink
fix: make iscsiadm script work with any POSIX shell
Browse files Browse the repository at this point in the history
Fix iscsiadm script.

Signed-off-by: Noel Georgi <[email protected]>
  • Loading branch information
sbogomolov authored and frezbo committed Oct 17, 2024
1 parent f2ece2e commit d6b96c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/iscsiadm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

iscsid_pid=$(pgrep iscsid)

if [ -z "${iscsid_pid}"]; then
if [ -z "${iscsid_pid}" ]; then
>&2 echo ERROR: Cannot find iscsid PID
exit 1
fi
Expand Down

0 comments on commit d6b96c3

Please sign in to comment.