Skip to content

Commit

Permalink
another fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pabera committed Jan 12, 2024
1 parent 4ff95a1 commit 2434315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion installation/components/setup_hifiberry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ main() {

# Execute program
if [ $# -ge 1 ]; then
if [[ "$1" != "enable" && "$1" != "disable" ]] || [[ "$1" == "enable" &&-z "$2" ]]; then
if [[ "$1" != "enable" && "$1" != "disable" ]] || [[ "$1" == "enable" && -z "$2" ]]; then
echo "Error: Invalid arguments provided.
Usage: ./${script_name} <status> <hifiberry-board>
where <status> can be 'enable' or 'disable'.
Expand Down

0 comments on commit 2434315

Please sign in to comment.