← Commit list

890bd5de5

Denys Vlasenko
Denys Vlasenko
2017-08-09
SUCCESS Duration: 142s

Subject

ipcs: tweak output orer to match util-linux 2.28

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

util-linux/ipcs.c+4 -4
@@ -632,6 +632,10 @@ int ipcs_main(int argc UNUSED_PARAM, char **argv)
flags |= flag_msg | flag_shm | flag_sem;
bb_putchar('\n');
+ if (flags & flag_msg) {
+ do_msg();
+ bb_putchar('\n');
+ }
if (flags & flag_shm) {
do_shm();
bb_putchar('\n');
@@ -640,9 +644,5 @@ int ipcs_main(int argc UNUSED_PARAM, char **argv)
do_sem();
bb_putchar('\n');
}
- if (flags & flag_msg) {
- do_msg();
- bb_putchar('\n');
- }
fflush_stdout_and_exit(EXIT_SUCCESS);
}