From ffb1099cb7fe3995022f2febe4cc8ea89038b0c5 Mon Sep 17 00:00:00 2001 From: Salt Date: Thu, 26 Sep 2019 23:02:47 -0500 Subject: [PATCH] Fix bug where -m required a valid backend configuration --- ptgdp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ptgdp b/ptgdp index 84e4d4a..d79d0aa 100755 --- a/ptgdp +++ b/ptgdp @@ -367,7 +367,7 @@ main() { done return 1 ) || error "Unsupported backend: ${_config[backend]}" 50 - if ! backend-validate; then + if [ -z "$_optmachinemode" ] && ! backend-validate; then errorcode=$? case $errorcode in 1)