From 4ac92d8074388d1b9e70b0533469d1b82c71ba95 Mon Sep 17 00:00:00 2001 From: Toby Goodwin Date: Mon, 17 Apr 2017 21:23:26 +0100 Subject: add "rc: " prefix to "cannot shift" error --- builtins.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtins.c b/builtins.c index 75ac9cf..a0f0ebe 100644 --- 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); -- cgit v1.2.3