Skip to content

Commit

Permalink
Merge pull request #6 from OpenCHAMI/trcotton/loop-fix
Browse files Browse the repository at this point in the history
fixed if line failures
  • Loading branch information
travisbcotton authored Feb 20, 2024
2 parents 5b102fe + f8a512a commit 3ccb214
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dnsmasq-dhcpd-dynamic/update_loop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ while true
do
smd.py
rc=$?
if [$rc -e 1]; then
if [[ $rc -eq 1 ]]
then
kill -1 $(pgrep dnsmasq)
fi
sleep 10
Expand Down

0 comments on commit 3ccb214

Please sign in to comment.