summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuilherme Amadio <amadio@gentoo.org>2021-11-19 15:11:51 +0100
committerGuilherme Amadio <amadio@gentoo.org>2021-11-19 17:27:29 +0100
commit61206a8b1876ead2583191976a8d104f5f54ddac (patch)
tree14ae8032a367617901ca61e2845bbdc3da69cd8b /sys-cluster/rdma-core
parentdev-python/numpy: use unknown arch if uname fails (diff)
downloadgentoo-61206a8b1876ead2583191976a8d104f5f54ddac.tar.gz
gentoo-61206a8b1876ead2583191976a8d104f5f54ddac.tar.bz2
gentoo-61206a8b1876ead2583191976a8d104f5f54ddac.zip
sys-cluster/rdma-code: fix bashism in srpd.init
* QA Notice: shell script appears to use non-POSIX feature(s): * possible bashism in /etc/init.d/srpd line 10 (should be '.', not 'source'): * [ -f ${rdma_config} ] && source ${rdma_config} Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
Diffstat (limited to 'sys-cluster/rdma-core')
-rw-r--r--sys-cluster/rdma-core/files/srpd.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-cluster/rdma-core/files/srpd.init b/sys-cluster/rdma-core/files/srpd.init
index 07f5ec2d29a7..ac6db2ffad9b 100644
--- a/sys-cluster/rdma-core/files/srpd.init
+++ b/sys-cluster/rdma-core/files/srpd.init
@@ -7,7 +7,7 @@ pidfile="/run/${SVCNAME}.pid"
start_stop_daemon_args="-b -m"
rdma_config="/etc/infiniband/openib.conf"
-[ -f ${rdma_config} ] && source ${rdma_config}
+[ -f ${rdma_config} ] && . ${rdma_config}
[ ${SRP_DEFAULT_TL_RETRY_COUNT} ] && command_args="-l ${SRP_DEFAULT_TL_RETRY_COUNT}"