mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-06-19 01:50:45 +00:00
fix: Fix verbosity bug in buildrpms.pl
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -63,7 +63,7 @@ GetOptions(
|
||||
sub sh {
|
||||
my ($cmd) = @_;
|
||||
say "Running: $cmd"
|
||||
if $opts{quiet};
|
||||
if $opts{verbose};
|
||||
open my $fh, "-|", "bash -lc '$cmd'" or die "cannot run $cmd: $!";
|
||||
|
||||
while (my $line = <$fh>) {
|
||||
|
||||
Reference in New Issue
Block a user