summaryrefslogtreecommitdiff
path: root/loginutils
diff options
context:
space:
mode:
Diffstat (limited to 'loginutils')
-rw-r--r--loginutils/vlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loginutils/vlock.c b/loginutils/vlock.c
index 1414613..7cc812f 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);
}