exitcode info

This commit is contained in:
rootzoll
2021-05-05 01:23:45 +02:00
parent acdba5802a
commit f3769d9507
2 changed files with 3 additions and 5 deletions

View File

@@ -148,7 +148,7 @@ do
sleep 3
done
echo "# mainmenu signaled exit code '${exitMenuLoop}' --> exit to terminal"
echo "# menu loop signaled exit code '${exitMenuLoop}' --> exit to terminal"
echo "***********************************"
echo "* RaspiBlitz Commandline"
echo "* Here be dragons .. have fun :)"

View File

@@ -28,8 +28,7 @@ if [ "${migrationOS}" == "" ]; then
# on cancel - let user exit to terminal
if [ "$?" != "0" ]; then
echo "# you selected cancel - exited to terminal"
echo "# to re-start setup use command --> setup"
echo "# you selected cancel - sending exit code 1"
exit 1
fi
@@ -86,8 +85,7 @@ else
# allow user to cancel to terminal on dialog main menu
# all other cancels have other exit codes
if [ "$?" == "1" ]; then
echo "# you selected cancel - exited to terminal"
echo "# to re-start setup use command --> setup"
echo "# you selected cancel - sending exit code 1"
exit 1
fi