commit 35b55b0847f160e9713ced57030788a11fcfc5c0
parent d2e55978089bca0edf9ee711161a3b456835864f
Author: Brian Mayer <bleemayer@gmail.com>
Date: Sat, 5 Aug 2023 13:23:30 -0300
Merge pull request #40 from rnwgnr/returncode_handling
fix returncode 50 handling
Diffstat:
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/astro b/astro
@@ -307,6 +307,8 @@ EOF
;;
40)
echo "Temporary failure" >&2
+ echo "Type a key to continue. "
+ read -r i <&1
return 3
;;
41)
@@ -321,8 +323,10 @@ EOF
44)
return 7
;;
- 51*)
+ 50|51)
echo "Page not found!" >&2
+ echo "Type a key to return to previous page."
+ read -r i <&1
read -r proto host port path << EOF
$(getprevious)
EOF
@@ -338,6 +342,8 @@ EOF
;;
59)
echo "Bad request: $meta" >&2
+ echo "Type a key to continue."
+ read -r i <&1
return 12
;;
60)