From 406de53d91620540e608f3e2c1b66d098016bcc0 Mon Sep 17 00:00:00 2001 From: suvendhu Date: Thu, 16 Feb 2023 11:06:45 +0530 Subject: [PATCH] uspd: fix shellcheck error --- uspd/Makefile | 2 +- uspd/files/etc/init.d/uspd | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/uspd/Makefile b/uspd/Makefile index 5917fd34c..8f9527871 100644 --- a/uspd/Makefile +++ b/uspd/Makefile @@ -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) diff --git a/uspd/files/etc/init.d/uspd b/uspd/files/etc/init.d/uspd index 0f8ac99a9..6c5b269e1 100644 --- a/uspd/files/etc/init.d/uspd +++ b/uspd/files/etc/init.d/uspd @@ -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 }