Skip to content

Commit

Permalink
misc/mke2fs.c: suppress 'Creating regular file' message with -q
Browse files Browse the repository at this point in the history
  • Loading branch information
josch committed May 12, 2024
1 parent d819ace commit 62fe2f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion misc/mke2fs.c
Original file line number Diff line number Diff line change
Expand Up @@ -2073,7 +2073,8 @@ static void PRS(int argc, char *argv[])
dev_size = 0;
retval = 0;
close(fd);
printf(_("Creating regular file %s\n"), device_name);
if (!quiet)
printf(_("Creating regular file %s\n"), device_name);
}
}
if (retval && (retval != EXT2_ET_UNIMPLEMENTED)) {
Expand Down

0 comments on commit 62fe2f4

Please sign in to comment.