[25604] in Source-Commits
/svn/athena r25117 - trunk/debathena/scripts
daemon@ATHENA.MIT.EDU (Geoffrey Thomas)
Fri Apr 29 18:37:29 2011
Date: Fri, 29 Apr 2011 18:37:23 -0400
From: Geoffrey Thomas <geofft@MIT.EDU>
Message-Id: <201104292237.p3TMbNV6009785@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Author: geofft
Date: 2011-04-29 18:37:23 -0400 (Fri, 29 Apr 2011)
New Revision: 25117
Modified:
trunk/debathena/scripts/daschroot
Log:
daschroot: error out on failure, not success
Modified: trunk/debathena/scripts/daschroot
===================================================================
--- trunk/debathena/scripts/daschroot 2011-04-29 22:18:16 UTC (rev 25116)
+++ trunk/debathena/scripts/daschroot 2011-04-29 22:37:23 UTC (rev 25117)
@@ -9,7 +9,7 @@
fi
shift
-if schroot -c "$chroot" -i >/dev/null; then
+if ! schroot -c "$chroot" -i >/dev/null; then
exit $?
fi