summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Wise <pabs@debian.org>2022-02-15 15:50:39 +0800
committerPaul Wise <pabs@debian.org>2022-02-15 15:54:36 +0800
commit888775bfd9143aabade6979d6efe5420ee0265cf (patch)
tree63b98f1128c9ba3bc01cd75a4bed1b7c2a7591da
parentda9c989d0593dfccc21274799a646dc227b4348d (diff)
bugscript: switch from options in shebang to options for set
Otherwise the options won't be applied when running the script directly from a sh command instead of via the shebang.
-rwxr-xr-xdebian/apt.bug-script3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/apt.bug-script b/debian/apt.bug-script
index b22671268..eae54fe69 100755
--- a/debian/apt.bug-script
+++ b/debian/apt.bug-script
@@ -1,4 +1,5 @@
-#!/bin/bash -e
+#!/bin/bash
+set -e
cat <<EOF
I can automatically include various information about your apt configuration in