Author: adam-guest
Date: 2008-09-06 19:14:46 +0000 (Sat, 06 Sep 2008)
New Revision: 1615
Modified:
trunk/debian/changelog
trunk/scripts/uscan.pl
Log:
uscan: Exit with the correct status when --watchfile was used.
(Closes: #498057)
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2008-09-04 21:00:40 UTC (rev 1614)
+++ trunk/debian/changelog 2008-09-06 19:14:46 UTC (rev 1615)
@@ -36,6 +36,8 @@
indicate that tagpending was used.
+ Make the --wnpp option work again. Thanks gregor herrmann.
(Closes: #497820)
+ * uscan: Exit with the correct status when --watchfile was used.
+ (Closes: #498057)
[ Stefano Zacchiroli ]
* bts: add support for the fake "gift" tag. It is to be used as a shorthand
Modified: trunk/scripts/uscan.pl
===================================================================
--- trunk/scripts/uscan.pl 2008-09-04 21:00:40 UTC (rev 1614)
+++ trunk/scripts/uscan.pl 2008-09-06 19:14:46 UTC (rev 1615)
@@ -447,7 +447,7 @@
# Are there any warnings to give if we're using dehs?
$dehs_end_output=1;
dehs_output if $dehs;
- exit 0;
+ exit ($found ? 0 : 1);
}
# Otherwise we're scanning for watchfiles
--
To unsubscribe, send mail to [EMAIL PROTECTED]