From 417bfd771d7b4635d68e7e5b42d23f7056455a0d Mon Sep 17 00:00:00 2001 From: Ping Xiao Date: Tue, 2 Mar 2021 13:47:01 +0800 Subject: [PATCH] add sudo to aviod password --- tests/test-all.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-all.sh b/tests/test-all.sh index 3177da745f..3ebdffebf2 100755 --- a/tests/test-all.sh +++ b/tests/test-all.sh @@ -12,7 +12,7 @@ IN_TDINTERNAL="community" function stopTaosd { echo "Stop taosd" - systemctl stop taosd + sudo systemctl stop taosd PID=`ps -ef|grep -w taosd | grep -v grep | awk '{print $2}'` while [ -n "$PID" ] do -- GitLab