Skip to content

Commit e005045

Browse files
committed
fixup! fixup! Support FreeBSD
1 parent 84592aa commit e005045

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packcheck.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ set_os_specific_vars() {
160160
show_machine_info() {
161161
local os=$(uname)
162162
case "$os" in
163-
Linux|FreeBSD)
163+
Linux)
164164
echo "OS: $os"
165165
lscpu | grep "^Archi\|^CPU\|^Bogo\|^Hyper\|^Virtualiz"
166166

@@ -179,6 +179,8 @@ show_machine_info() {
179179
run_verbose cat /sys/fs/cgroup/cpu/cpu.cfs_period_us || true
180180
run_verbose cat /sys/fs/cgroup/cpu/cpu.cfs_quota_us || true
181181
run_verbose cat /sys/fs/cgroup/memory/memory.limit_in_bytes || true ;;
182+
FreeBSD)
183+
echo "OS: FreeBSD" ;;
182184
Darwin)
183185
echo "OS: MacOS" ;;
184186
MINGW*)

0 commit comments

Comments
 (0)