From 33b0c618d45f25060dcdb26f1996080ccd3527d4 Mon Sep 17 00:00:00 2001 From: Teddysun Date: Mon, 13 Feb 2017 21:14:46 +0900 Subject: [PATCH] update comments --- shadowsocks-crond.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shadowsocks-crond.sh b/shadowsocks-crond.sh index f881393..30dfda1 100644 --- a/shadowsocks-crond.sh +++ b/shadowsocks-crond.sh @@ -27,7 +27,7 @@ i=0 for init in ${shadowsocks_init[@]}; do pid="" if [ -f ${init} ]; then - ${init} status &>/dev/null + ${init} status > /dev/null 2>&1 if [ $? -eq 0 ]; then for bin in ${shadowsocks[@]}; do pid=`ps -ef | grep -v grep | grep -i "${bin}" | awk '{print $2}'`