Skip to content

Commit ae120c1

Browse files
authored
Fix broken build.func (#736)
1 parent c056dd9 commit ae120c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

misc/build.func

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ install_script() {
504504

505505
check_container_resources() {
506506
# Check actual RAM & Cores
507-
current_ram=$free -m | awk 'NR==2{print $2}')
507+
current_ram=$(free -m | awk 'NR==2{print $2}')
508508
current_cpu=$(nproc)
509509

510510
# Check whether the current RAM is less than the required RAM or the CPU cores are less than required

0 commit comments

Comments
 (0)