mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
ctdb-utils: CID 1343331 Unchecked return value from library (CHECKED_RETURN)
Explicitly ignore keyboard input in ping_pong. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
parent
55b75e4ece
commit
42d0577217
@ -267,7 +267,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
printf("Holding lock, press any key to continue...\n");
|
||||
printf("You should run the same command on another node now.\n");
|
||||
getchar();
|
||||
(void)getchar();
|
||||
printf("Good bye.\n");
|
||||
exit(0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user