[git commit] hush: add comment about abort on syntax error %{^}
Denys Vlasenko
vda.linux at googlemail.com
Tue May 9 12:02:06 UTC 2023
commit: https://git.busybox.net/busybox/commit/?id=3a7f00eadcf400df5f9381b49f3ff5e882af0261
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
shell/hush.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/shell/hush.c b/shell/hush.c
index ac8e44778..810dafd35 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -1429,6 +1429,7 @@ static void syntax_error_unterm_str(unsigned lineno UNUSED_PARAM, const char *s)
{
bb_error_msg("syntax error: unterminated %s", s);
//? source4.tests fails: in bash, echo ${^} in script does not terminate the script
+// (but bash --posix, or if bash is run as "sh", does terminate in script, so maybe uncomment this?)
// die_if_script();
}
More information about the busybox-cvs
mailing list