aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--loginutils/vlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loginutils/vlock.c b/loginutils/vlock.c
index 1414613de..7cc812fbb 100644
--- a/loginutils/vlock.c
+++ b/loginutils/vlock.c
@@ -114,5 +114,5 @@ int vlock_main(int argc, char **argv)
puts("Password incorrect");
} while (1);
restore_terminal();
- return 0;
+ fflush_stdout_and_exit(0);
}