little changes in main script

This commit is contained in:
justmarvinn 2025-06-08 13:31:05 +02:00
parent b88dfa1bb9
commit 696b1e7342

View File

@ -122,11 +122,6 @@ EOF
local password="$5"
local iface="${6:-ppp0}"
if ip link show $iface > /dev/null 2>&1; then
echo "Interface $iface already exists"
exit 1
fi
args=""
if [[ -z $topic ]]; then
echo "topic must be provided to \`mqtt_off\` function"
@ -209,5 +204,6 @@ case $# in
;;
*)
print_usage
exit 1
;;
esac