diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/npass/npass.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/npass/npass.c b/src/npass/npass.c index 532ef47..23c3fa9 100644 --- a/src/npass/npass.c +++ b/src/npass/npass.c @@ -195,7 +195,7 @@ static int gen(int argc, char *argv[]) { r = pass_add(argv[optind], pass, len); if (!r) - printf("%s\n", pass); + printf("%s%s", pass, isatty(STDOUT_FILENO) ? "\n" : ""); out_free_pass: free(pass); |