From db509c6cf5d5836d1b71a4e35658f3f5cab63e2b Mon Sep 17 00:00:00 2001 From: mastereur <22839524+mastereur@users.noreply.github.com> Date: Thu, 4 Jul 2019 12:52:42 +0200 Subject: [PATCH] Fix from kay0u suggestion --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 7464447..bc4f8c1 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -144,7 +144,7 @@ then # Remove the lock if it exists lock=$final_path/documents/install.lock - if -f $lock + if [ -f $lock ] then ynh_secure_remove $lock fi