Fix deleting files when they don't exist
This commit is contained in:
parent
75a25925b8
commit
768885822b
|
|
@ -60,7 +60,7 @@ mount_letsencrypt_directory() {
|
|||
|
||||
configure_supervisord() {
|
||||
SUPERVISORD_CONF_PATH="/opt/appsmith/templates/supervisord"
|
||||
if [[ -z "$(ls -A /etc/supervisor/conf.d)" ]]; then
|
||||
if [[ -n "$(ls -A /etc/supervisor/conf.d)" ]]; then
|
||||
rm -f "/etc/supervisor/conf.d/"*
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user