commit 4ac92d8074388d1b9e70b0533469d1b82c71ba95
parent 89f1e1b445c2c50ffb61fa1327e11c475eb1b57f
Author: Toby Goodwin <toby@paccrat.org>
Date: Mon, 17 Apr 2017 21:23:26 +0100
add "rc: " prefix to "cannot shift" error
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/builtins.c b/builtins.c
@@ -236,7 +236,7 @@ static void b_shift(char **av) {
--shift;
}
if (s == NULL && shift != 0) {
- fprint(2, "cannot shift\n");
+ fprint(2, "rc: cannot shift\n");
set(FALSE);
} else {
varassign("*", append(dollarzero, s), FALSE);