services: stop menu removing services on ESC

This commit is contained in:
openoms 2020-02-02 11:25:40 +00:00
parent 0aa9649c28
commit fa1349c7e4

View file

@ -101,6 +101,9 @@ echo "dialogcancel(${dialogcancel})"
if [ ${dialogcancel} -eq 1 ]; then
echo "user canceled"
exit 1
elif [ ${dialogcancel} -eq 255 ]; then
echo "ESC pressed"
exit 1
fi
needsReboot=0