Skip to content

Commit d41b503

Browse files
committed
Fix unbound variable error
1 parent 2938c95 commit d41b503

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

libexec/znaphodl.bash

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,8 @@ function __znaphodl {
143143
local OPTIND=1
144144
local option
145145

146-
local debug=0
147146
local latest_common_snapshot
148147
local last_query_timestamp_property_name
149-
local lockfile
150148
local log_available_space=0
151149
local source_dataset
152150
local source_hold_tag
@@ -160,6 +158,8 @@ function __znaphodl {
160158

161159
set -eu
162160

161+
debug=0
162+
163163
while getopts ':dln' option; do
164164
case "${option}" in
165165
d)

0 commit comments

Comments
 (0)