From b59f8e8aeab23c868c7c6fb1754d6e508dfd0600 Mon Sep 17 00:00:00 2001 From: "K. Lange" Date: Tue, 24 Apr 2018 20:25:49 +0900 Subject: [PATCH] fix arg parsing bug in echo with no arguments --- apps/echo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/echo.c b/apps/echo.c index e837634e..04a8032a 100644 --- a/apps/echo.c +++ b/apps/echo.c @@ -28,6 +28,7 @@ int main(int argc, char ** argv) { start = i; break; } else { + start++; if (argv[i][1] == 'h') { usage(); return 1;