test kill valgrind process after run

This commit is contained in:
Olof hagsand 2019-12-09 21:12:39 +01:00
parent d68a829862
commit 05ce6f38a3
28 changed files with 35 additions and 35 deletions

View file

@ -213,7 +213,7 @@ start_restconf(){
}
stop_restconf(){
sudo pkill -u $wwwuser -f "$clixon_restconf"
sudo pkill -u $wwwuser -f clixon_restconf # Dont use $clixon_restoconf doesnt work in valgrind
if [ $valgrindtest -eq 3 ]; then
sleep 1
checkvalgrind