From 316c81fa5da948744da8e0c6c5213eddbe25bf12 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 18 Feb 2020 12:31:32 +0100 Subject: Instance management scripts: fix evaluation of USE_* --- install/ishtar-delete-instance | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install/ishtar-delete-instance') diff --git a/install/ishtar-delete-instance b/install/ishtar-delete-instance index c77ffaa34..a8b68b849 100755 --- a/install/ishtar-delete-instance +++ b/install/ishtar-delete-instance @@ -93,7 +93,7 @@ do_delete_instance() { dropuser "$DB_NAME" EOF - if [ -v $USE_CELERY ]; then + if [ $USE_CELERY = 'yes' ]; then systemctl disable celery-$INSTANCE systemctl stop celery-$INSTANCE /usr/sbin/rabbitmqctl delete_vhost /ishtar$INSTANCE -- cgit v1.2.3