unix.c (PRS): Skip validation of -C's file descriptor if it is zero,
since that is special case.
+2001-05-12 Theodore Tso <tytso@valinux.com>
+
+ * unix.c (PRS): Skip validation of -C's file descriptor if it is
+ zero, since that is special case.
+
2001-05-09 Theodore Tso <tytso@valinux.com>
* super.c (release_orphan_inodes): Add gettext quoting around
case 'C':
ctx->progress = e2fsck_update_progress;
ctx->progress_fd = atoi(optarg);
+ if (!ctx->progress_fd)
+ break;
/* Validate the file descriptor to avoid disasters */
fd = dup(ctx->progress_fd);
if (fd < 0) {