uspd: fix shellcheck error

This commit is contained in:
suvendhu 2023-02-16 11:06:45 +05:30 committed by Vivek Kumar Dutta
parent 6c6abcd25a
commit 406de53d91
2 changed files with 5 additions and 5 deletions

View file

@ -5,7 +5,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=uspd
PKG_VERSION:=2.2.23
PKG_VERSION:=2.2.24
LOCAL_DEV:=0
ifneq ($(LOCAL_DEV),1)

View file

@ -28,20 +28,20 @@ configure_uspd()
return 1;
}
[ ${enabled} -eq 0 ] && return 0
[ "${enabled}" -eq 0 ] && return 0
procd_set_param command ${PROG}
if [ ${debug} -eq 1 ]; then
if [ "${debug}" -eq 1 ]; then
procd_set_param stdout 1
procd_set_param stderr 1
fi
if [ -f "${sock}" ]; then
procd_append_param command -s ${sock}
procd_append_param command -s "${sock}"
fi
if [ -n "${transaction_timeout}" ]; then
procd_append_param command -t ${transaction_timeout}
procd_append_param command -t "${transaction_timeout}"
fi
}