Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Hystepik committed Feb 7, 2024
1 parent 2fd3fe5 commit dfe668b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/action_suspend_unsuspend.sh
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ testorconfirm="confirm"

if [[ "$mode" == "rename" ]]; then

if [[ "$fqnold" !="-.-" ]] && [[ "$fqn" != "$fqnold" ]]; then
if [[ "$fqnold" != "-.-" ]] && [[ "$fqn" != "$fqnold" ]]; then
echo `date +'%Y-%m-%d %H:%M:%S'`" ***** For instance in $targetdir/$osusername/$dbname, check if new virtual host $fqn exists"

export apacheconf="/etc/apache2/sellyoursaas-online/$fqn.conf"
Expand Down Expand Up @@ -484,7 +484,7 @@ if [[ "$mode" == "rename" ]]; then


# If we rename instance
if [[ "$fqnold" !="-.-" ]] && [[ "$fqn" != "$fqnold" ]]; then
if [[ "$fqnold" != "-.-" ]] && [[ "$fqn" != "$fqnold" ]]; then
echo `date +'%Y-%m-%d %H:%M:%S'`" ***** For instance in $targetdir/$osusername/$dbname, delete old virtual name $fqnold"

export apacheconf="/etc/apache2/sellyoursaas-online/$fqnold.conf"
Expand Down

0 comments on commit dfe668b

Please sign in to comment.