Skip to content

Commit

Permalink
lockwait: if debug mode is enabled, pass -D1 to dpkg
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSin- authored and fingolfin committed Sep 10, 2013
1 parent ed1de3f commit 30c7725
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lockwait.in
Expand Up @@ -66,5 +66,6 @@ if ($> == 0) {
print STDERR "Non-root, can't pre-lock\n" if $debug;
}

unshift(@ARGV, '-D1') if $debug;
print STDERR "Execing $exec with args: ", join(' ', @ARGV), "\n" if $debug;
exec($exec, @ARGV) or die "lockwait: Exec failed: $!";

0 comments on commit 30c7725

Please sign in to comment.