[Pkg-shadow-devel] Patch to have vipw display "...is unchanged" on
stdout
Christian Perrier
bubulle at debian.org
Thu Jul 21 17:52:12 UTC 2005
retitle 190252 [PROPOSED UPSTREAM PATCH] vipw should offer a quiet mode and display to stdout
thanks
In http://bugs.debian.org/190252, the bug submitter complains about
vipw displaying the "%s is unchanged" message on stderr while stdout
would be more logical (after all, this is only an informative
message).
The attached trivial patch achieves this. I do not think that
implementing a "quiet" option is worth it...unles you think otherwise,
Tomasz.
Would you consider applying this to your CVS?
We will not backport it to 4.0.3 but will rather wait for the resync
to close the relevant Debian bug.
--
-------------- next part --------------
--- vipw.c.ori 2005-07-21 19:45:58.000000000 +0200
+++ vipw.c 2005-07-21 19:48:00.000000000 +0200
@@ -101,7 +101,7 @@
fprintf (stderr, "%s: %s", progname, msg);
if (syserr)
fprintf (stderr, ": %s", strerror (err));
- fprintf (stderr, _("\n%s: %s is unchanged\n"), progname, filename);
+ fprintf (_("\n%s: %s is unchanged\n"), progname, filename);
exit (ret);
}
More information about the Pkg-shadow-devel
mailing list