mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-20 04:37:19 +02:00
exitcode info
This commit is contained in:
@@ -148,7 +148,7 @@ do
|
|||||||
sleep 3
|
sleep 3
|
||||||
|
|
||||||
done
|
done
|
||||||
echo "# mainmenu signaled exit code '${exitMenuLoop}' --> exit to terminal"
|
echo "# menu loop signaled exit code '${exitMenuLoop}' --> exit to terminal"
|
||||||
echo "***********************************"
|
echo "***********************************"
|
||||||
echo "* RaspiBlitz Commandline"
|
echo "* RaspiBlitz Commandline"
|
||||||
echo "* Here be dragons .. have fun :)"
|
echo "* Here be dragons .. have fun :)"
|
||||||
|
@@ -28,8 +28,7 @@ if [ "${migrationOS}" == "" ]; then
|
|||||||
|
|
||||||
# on cancel - let user exit to terminal
|
# on cancel - let user exit to terminal
|
||||||
if [ "$?" != "0" ]; then
|
if [ "$?" != "0" ]; then
|
||||||
echo "# you selected cancel - exited to terminal"
|
echo "# you selected cancel - sending exit code 1"
|
||||||
echo "# to re-start setup use command --> setup"
|
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -86,8 +85,7 @@ else
|
|||||||
# allow user to cancel to terminal on dialog main menu
|
# allow user to cancel to terminal on dialog main menu
|
||||||
# all other cancels have other exit codes
|
# all other cancels have other exit codes
|
||||||
if [ "$?" == "1" ]; then
|
if [ "$?" == "1" ]; then
|
||||||
echo "# you selected cancel - exited to terminal"
|
echo "# you selected cancel - sending exit code 1"
|
||||||
echo "# to re-start setup use command --> setup"
|
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user