extras-buildsys-temp/scripts mach.in,1.4,1.5
Seth Vidal (skvidal)
fedora-extras-commits at redhat.com
Tue Apr 19 20:05:55 UTC 2005
Author: skvidal
Update of /cvs/fedora/extras-buildsys-temp/scripts
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2498/scripts
Modified Files:
mach.in
Log Message:
make locked root exit with non-zero error code
Index: mach.in
===================================================================
RCS file: /cvs/fedora/extras-buildsys-temp/scripts/mach.in,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- mach.in 11 Apr 2005 16:56:53 -0000 1.4
+++ mach.in 19 Apr 2005 20:05:52 -0000 1.5
@@ -1975,6 +1975,7 @@
output = Root.__dict__[command] (root, args[1:])
except Root.Locked:
sys.stderr.write ("Root is locked. Use -f to override lock.\n")
+ sys.exit(1)
except Root.Error, message:
sys.stderr.write ("ERROR: %s\n" % message)
root.unlock ()
More information about the fedora-extras-commits
mailing list