diff options
author | Rob Landley <rob@landley.net> | 2008-01-22 15:33:50 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2008-01-22 15:33:50 -0600 |
commit | 841223d68877f4b12b1c08281e6471e58912120b (patch) | |
tree | 55180ea50879d8d446859ebf854f5cc9b3b29b4a | |
parent | 41cb696013ffacfca73e92cd164b96f903c60ca1 (diff) | |
download | toybox-841223d68877f4b12b1c08281e6471e58912120b.tar.gz |
Fix crash when running unknown command via symlink.
(The error message was trying to print an uninitialied field. Oops.)
-rw-r--r-- | main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -92,6 +92,7 @@ void toybox_main(void) if (toys.argv[1]) { if (toys.argv[1][0]!='-') { toy_exec(toys.argv+1); + toys.which = toy_list; error_exit("Unknown command %s",toys.argv[1]); } } |