mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 05:48:05 +00:00
ci: Alpine's busybox based free does not understand -h
Signed-off-by: Adrian Reber <areber@redhat.com>
This commit is contained in:
parent
d2ed60b60a
commit
f736b8750e
@ -118,7 +118,12 @@ print_env() {
|
||||
print_header "ulimit -a"
|
||||
ulimit -a
|
||||
print_header "Available memory"
|
||||
free -h
|
||||
if [ -e /etc/alpine-release ]; then
|
||||
# Alpine's busybox based free does not understand -h
|
||||
free
|
||||
else
|
||||
free -h
|
||||
fi
|
||||
print_header "Available CPUs"
|
||||
lscpu || :
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user