headlessvnc : exit -> return dans les fonctions start et stop pour ne pas interrompre restart

This commit is contained in:
Ahurac 2024-04-04 15:39:02 +02:00
parent 58ee6d737a
commit 2d2f273111

View file

@ -24,7 +24,7 @@ start() {
"$@"
else
perror "server already started"
exit 2
return 2
fi
}
@ -33,7 +33,7 @@ stop() {
vncserver -kill :1
else
perror "server is not running"
exit 2
return 2
fi
}