mock/src mock-helper.c,1.9,1.10
Michael E Brown (mebrown)
fedora-extras-commits at redhat.com
Thu Jun 8 21:28:54 UTC 2006
Author: mebrown
Update of /cvs/fedora/mock/src
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2012/src
Modified Files:
mock-helper.c
Log Message:
Make rm less verbose.
Index: mock-helper.c
===================================================================
RCS file: /cvs/fedora/mock/src/mock-helper.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- mock-helper.c 24 May 2006 15:15:20 -0000 1.9
+++ mock-helper.c 8 Jun 2006 21:28:47 -0000 1.10
@@ -244,15 +244,15 @@
void
do_rm (int argc, char *argv[])
{
- /* enough arguments ? mock-helper rm -rfv (rootdir), 4 */
+ /* enough arguments ? mock-helper rm -rf (rootdir), 4 */
if (argc < 4)
error ("not enough arguments");
- /* see if we're doing rm -rfv */
- if (strncmp ("-rfv", argv[2], 4) != 0)
+ /* see if we're doing rm -rf */
+ if (strncmp ("-rf", argv[2], 4) != 0)
error ("%s: options not allowed", argv[2]);
- /* see if we're doing -rfv on a dir under rootsdir */
+ /* see if we're doing -rf on a dir under rootsdir */
check_dir_allowed (rootsdir, argv[3]);
/* all checks passed, execute */
More information about the fedora-extras-commits
mailing list