aboutsummaryrefslogtreecommitdiff
path: root/util-linux/ipcs.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/ipcs.c')
-rw-r--r--util-linux/ipcs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/util-linux/ipcs.c b/util-linux/ipcs.c
index 4b5c597e5..111defa1e 100644
--- a/util-linux/ipcs.c
+++ b/util-linux/ipcs.c
@@ -588,15 +588,15 @@ int ipcs_main(int argc ATTRIBUTE_UNUSED, char **argv)
588 if (flags & flag_print) { 588 if (flags & flag_print) {
589 if (flags & flag_shm) { 589 if (flags & flag_shm) {
590 print_shm(id); 590 print_shm(id);
591 fflush_stdout_and_exit(0); 591 fflush_stdout_and_exit(EXIT_SUCCESS);
592 } 592 }
593 if (flags & flag_sem) { 593 if (flags & flag_sem) {
594 print_sem(id); 594 print_sem(id);
595 fflush_stdout_and_exit(0); 595 fflush_stdout_and_exit(EXIT_SUCCESS);
596 } 596 }
597 if (flags & flag_msg) { 597 if (flags & flag_msg) {
598 print_msg(id); 598 print_msg(id);
599 fflush_stdout_and_exit(0); 599 fflush_stdout_and_exit(EXIT_SUCCESS);
600 } 600 }
601 bb_show_usage(); 601 bb_show_usage();
602 } 602 }
@@ -617,5 +617,5 @@ int ipcs_main(int argc ATTRIBUTE_UNUSED, char **argv)
617 do_msg(); 617 do_msg();
618 bb_putchar('\n'); 618 bb_putchar('\n');
619 } 619 }
620 fflush_stdout_and_exit(0); 620 fflush_stdout_and_exit(EXIT_SUCCESS);
621} 621}