diff options
author | Michael Schroeder <mls@suse.de> | 2014-03-31 16:59:51 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2014-03-31 16:59:51 +0200 |
commit | aa69fc017554a47aeb36deba0dcc3d03283607e3 (patch) | |
tree | 6bd657cea3272300163b53b83fb7ca52cb302226 /computeblocklists | |
parent | fdfaca4a862a4f907ba14a07207fa60989bf7733 (diff) |
compute/extract build: do not print dirs in verbose == 1 mode
Diffstat (limited to 'computeblocklists')
-rwxr-xr-x | computeblocklists | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/computeblocklists b/computeblocklists index cc09dae..80d2ca7 100755 --- a/computeblocklists +++ b/computeblocklists @@ -99,7 +99,7 @@ while (1) { print "l $n $c\n"; next; } elsif (-d _) { - print STDERR "$file\n" if $opt_verbose && !($opt_verbose == 1 && $file =~ /^KIWI\/.*\//); + print STDERR "$file\n" if $opt_verbose && $opt_verbose > 1; my @stat = stat(_); print "d $n\n"; next; @@ -125,7 +125,7 @@ while (1) { my $bsize = 'xxxx'; ioctl(F, 2, $bsize) || ioctl(F, 536870914, $bsize) || die("FIGETBSZ: $!\n"); $bsize = unpack("L", $bsize); - die unless $bsize != 0; + die("$file: empty blocksize\n") unless $bsize != 0; print "f $n $st_size $bsize"; my $blocks = int(($st_size+$bsize-1)/$bsize); |