summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhineng Li <[email protected]>2026-01-22 09:48:21 +0800
committerZhineng Li <[email protected]>2026-01-22 09:48:21 +0800
commit1e9f4d4dd575834db6e64bbab3d6934178a99f09 (patch)
tree2d68ca205072429801ac5db93db5f535f0d55b17
parent186ab798215d24cc669ab4ef5dce338478682661 (diff)
downloadchina-unicom-iptv-gd-1e9f4d4dd575834db6e64bbab3d6934178a99f09.tar.gz
china-unicom-iptv-gd-1e9f4d4dd575834db6e64bbab3d6934178a99f09.zip
declare shell options
-rwxr-xr-xiptv.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/iptv.sh b/iptv.sh
index 937007b..c785086 100755
--- a/iptv.sh
+++ b/iptv.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+set -euo pipefail
show_usage () {
echo "Usage: $0 [COMMAND] [OPTIONS]"