fix for btrbk-run archive
authorIan Kelling <ian@iankelling.org>
Thu, 18 Apr 2024 14:32:48 +0000 (10:32 -0400)
committerIan Kelling <ian@iankelling.org>
Thu, 18 Apr 2024 14:32:48 +0000 (10:32 -0400)
btrbk-run

index 70fc7043ed6520b4d353d8c6df0e4ee72df0f372..7a22d42c414bfb84f771418721a0f2e94e3b02e1 100644 (file)
--- a/btrbk-run
+++ b/btrbk-run
@@ -28,6 +28,7 @@
 [[ $EUID == 0 ]] || exec sudo -E "${BASH_SOURCE[0]}" "$@"
 
 set -e; . /usr/local/lib/bash-bear; set +e
+shopt -s nullglob
 
 usage() {
   cat <<'EOF'