Skip to content

Commit

Permalink
dereference path if symlink
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrfai committed Nov 2, 2022
1 parent 23cdbdc commit 3381677
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian/tests/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ chk-size() {
local minsize=$2
local size

size=$(du -sm $path | awk '{print $1}')
size=$(du -Dsm $path | awk '{print $1}')

if [ $size -lt $minsize ]; then
error "$path is too small: $size MB. Should be greater $minsize MB"
Expand Down

0 comments on commit 3381677

Please sign in to comment.