diff options
Diffstat (limited to 'cmd.c')
-rw-r--r-- | cmd.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -195,7 +195,11 @@ cmd_write(int fd, const struct command *cmd, int argc, char **args) } } - puts("\nDone!"); + putchar('\n'); + + if (!err) + puts("Done!"); + fclose(fp); } else if (param.human_readable) { do { |