diff --git a/launcher.sh b/launcher.sh index da77948..8cc9d66 100755 --- a/launcher.sh +++ b/launcher.sh @@ -815,8 +815,13 @@ main() { 7) run_module "maintenance" "cleanup-toolkit-data.sh" ;; 0) echo "" - if ! read -p "Clean history and remove traces? (yes/no): " clean_hist /dev/null; then - return 0 # Exit if read fails + echo "Clean history and remove traces? (yes/no): " >&2 + if ! read -r clean_hist /dev/null; then + # Exit if read fails - just assume no cleanup + echo "" + echo "Thanks for using Server Management Toolkit!" + echo "" + return 0 fi if [ "$clean_hist" = "yes" ]; then