summaryrefslogtreecommitdiff
path: root/utils/iscsi_fw_login
diff options
context:
space:
mode:
authorLee Duncan <lduncan@suse.com>2021-10-28 09:15:37 -0700
committerLee Duncan <lduncan@suse.com>2021-10-28 09:15:37 -0700
commita5f09ce5855d448d14148dfe46ce595bfb18cea8 (patch)
treec39c0d5d67cd4522dc19aa039af4b82a0fe436d2 /utils/iscsi_fw_login
parent4353670c281ccd4dd1c028be8c806797580ecd66 (diff)
downloadopen-iscsi-a5f09ce5855d448d14148dfe46ce595bfb18cea8.tar.gz
Finish ability to have binary location configurable.
A Recent commit, fff82c57f5df ("Use "sbindir" for path in systemd service files") added the ability to have our binaries in another location rather than /sbin (e.g. /usr/sbin), but it was incomplete. This commit finishes the job. Fixes: fff82c57f5dfe6d3db795f1195b4d2ebc497d33c
Diffstat (limited to 'utils/iscsi_fw_login')
-rw-r--r--utils/iscsi_fw_login2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/iscsi_fw_login b/utils/iscsi_fw_login
index 1312ed3..aae9e4c 100644
--- a/utils/iscsi_fw_login
+++ b/utils/iscsi_fw_login
@@ -7,6 +7,6 @@
#
ARGS="-m fw -l"
-ISCSIADM="/sbin/iscsiadm"
+ISCSIADM="@SBINDIR@/iscsiadm"
$ISCSIADM $ARGS