From 1579e6b5bf2eef573ae0b73ddd717f67405ab86d Mon Sep 17 00:00:00 2001 From: frederik Date: Wed, 31 Jan 2024 14:08:35 +0100 Subject: [PATCH] debug --- scripts/update_birdnet_snippets.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/update_birdnet_snippets.sh b/scripts/update_birdnet_snippets.sh index 514862d..596c531 100755 --- a/scripts/update_birdnet_snippets.sh +++ b/scripts/update_birdnet_snippets.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +set -x # Update BirdNET-Pi trap 'exit 1' SIGINT SIGHUP USER=$(awk -F: '/1000/ {print $1}' /etc/passwd) @@ -20,9 +21,7 @@ PIP_UPDATED=0 # helpers sudo_with_user () { - set -x sudo -u $USER "$@" - set +x } ensure_apt_updated () {