From 0ade18796f0ba7377f4ef7e2340590f72d55293656560b91209184540a101cdd Mon Sep 17 00:00:00 2001 From: Thomas Oettli Date: Thu, 27 Aug 2026 23:39:46 +0200 Subject: [PATCH] cleanup source --- pbc | 3 --- 1 file changed, 3 deletions(-) diff --git a/pbc b/pbc index 08c43a6..14e2ecd 100755 --- a/pbc +++ b/pbc @@ -86,7 +86,6 @@ function apt_get_install() { return $rc } -WORK_DIR='' function cleanup_work_dir() { [ -n "$WORK_DIR" ] && [ -d "$WORK_DIR" ] && rm -r "$WORK_DIR" trap - EXIT @@ -143,7 +142,6 @@ function install_proxmox_backup_client() { cleanup_work_dir } - function arr_contains() { local search=$1 shift @@ -275,7 +273,6 @@ while (( $# > 0 )); do fi done - if [ -f "$cfgfile" ]; then perms=$(stat -c '%a' "$cfgfile") (( 8#$perms & 0022 )) && echo "Error: $cfgfile is writable by group or others!" >&2 && exit 202