summaryrefslogtreecommitdiff
path: root/Debian/Debhelper/Dh_Lib.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2014-02-28 15:00:56 -0400
committerJoey Hess <joey@kitenet.net>2014-02-28 15:00:56 -0400
commit618ce4dbad3263ead8c4085377f3083cb2a383ba (patch)
tree4ce5b0c77fd6d53f3080ae7ac49c925814881684 /Debian/Debhelper/Dh_Lib.pm
parentb597020665d92083ca488fa3d99e3cacdaaae4f9 (diff)
Fix breakage in no-act mode introduced in last release.
Diffstat (limited to 'Debian/Debhelper/Dh_Lib.pm')
-rw-r--r--Debian/Debhelper/Dh_Lib.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/Debian/Debhelper/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm
index 377454ed..6a79c9ce 100644
--- a/Debian/Debhelper/Dh_Lib.pm
+++ b/Debian/Debhelper/Dh_Lib.pm
@@ -224,6 +224,9 @@ sub doit_noerror {
if (! $dh{NO_ACT}) {
return (system(@_) == 0)
}
+ else {
+ return 1;
+ }
}
# Run a command and display the command to stdout if verbose mode is on.