From 3e60032793158f84e8fbb3f51da3d18cc53cc265 Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Tue, 21 May 2024 10:48:29 -0700 Subject: [PATCH] fix dryrun opt --- sbin/bashup-restore-mysql.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/bashup-restore-mysql.sh b/sbin/bashup-restore-mysql.sh index f259eca..1dfcc0e 100755 --- a/sbin/bashup-restore-mysql.sh +++ b/sbin/bashup-restore-mysql.sh @@ -41,7 +41,7 @@ while getopts "b:d:nh" opt; do database=${OPTARG} ;; n ) - dryrun=${OPTARG} + dryrun=true ;; \? ) echo "Invalid option: $OPTARG" 1>&2