diff options
Diffstat (limited to 'dummyshell.c')
-rw-r--r-- | dummyshell.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dummyshell.c b/dummyshell.c index 45c49a0..34b975d 100644 --- a/dummyshell.c +++ b/dummyshell.c @@ -594,6 +594,8 @@ int main(int argc, char** argv) break; case 'm': #ifdef _HAS_MSG + if (lseek(msgfd, 0, SEEK_SET) != -1) + while (print_msg() == 0) {} state = MS_MESSAGE; #else printf("<feature disabled>\n"); |