Skip to content

Commit

Permalink
Fix None settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Worm committed Apr 24, 2024
1 parent c3e3be3 commit afd4515
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion RAVINOS/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
"dual_coin": false,
"algo": ["qubic"],
"executable": ["qli-Client"],
"rev": 9
"rev": 12
}
2 changes: 1 addition & 1 deletion qubminer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ hugePages="$4"
hugePagesCommand=""

# Check if hugePages is not empty and contains only digits, if yes, assign sysctl command to hugePagesCommand
if [[ -n $hugePages && $hugePages =~ ^[0-9]+$ ]]; then
if [[ -n $hugePages && $hugePages != "None" && $hugePages =~ ^[0-9]+$ ]]; then
hugePagesCommand="sysctl -w vm.nr_hugepages=$hugePages && "
fi

Expand Down

0 comments on commit afd4515

Please sign in to comment.