Skip to content

Commit

Permalink
fixed syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippMundhenk committed Nov 2, 2023
1 parent a15b9fa commit fd70cf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/runScanner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ echo "-----"

echo "setting up host IP:"
sed -i 's/^ip_address=.*//' /opt/brother/scanner/brscan-skey/brscan-skey.config
if [[ -z "$HOST_IPADDRESS" ]]
if [[ -z "$HOST_IPADDRESS" ]]; then
echo "no host IP configured, using default discovery"
else
echo "ip_address=$HOST_IPADDRESS" >> /opt/brother/scanner/brscan-skey/brscan-skey.config
Expand Down

0 comments on commit fd70cf6

Please sign in to comment.