projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39842de
)
Changed exit code from -1 to 0 when busybox is invoked with no args.
author
Mark Whitley
<markw@lineo.com>
Fri, 2 Mar 2001 17:47:17 +0000
(17:47 -0000)
committer
Mark Whitley
<markw@lineo.com>
Fri, 2 Mar 2001 17:47:17 +0000
(17:47 -0000)
(Closes bug #1114.)
applets/busybox.c
patch
|
blob
|
history
busybox.c
patch
|
blob
|
history
diff --git
a/applets/busybox.c
b/applets/busybox.c
index 5fec3d5ecb91f54e858fb398272f401a50bfb4bc..0250e4c108ccee77d65c0b28c4e467e617d5724b 100644
(file)
--- a/
applets/busybox.c
+++ b/
applets/busybox.c
@@
-166,7
+166,7
@@
int busybox_main(int argc, char **argv)
}
}
fprintf(stderr, "\n\n");
- exit(
-1
);
+ exit(
0
);
}
/* Flag that we've been here already */
diff --git
a/busybox.c
b/busybox.c
index 5fec3d5ecb91f54e858fb398272f401a50bfb4bc..0250e4c108ccee77d65c0b28c4e467e617d5724b 100644
(file)
--- a/
busybox.c
+++ b/
busybox.c
@@
-166,7
+166,7
@@
int busybox_main(int argc, char **argv)
}
}
fprintf(stderr, "\n\n");
- exit(
-1
);
+ exit(
0
);
}
/* Flag that we've been here already */