Skip to content

Commit 2c46f33

Browse files
committed
[chores] QA fixes
1 parent db47f1f commit 2c46f33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

images/common/init_command.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@ elif [ "$MODULE_NAME" = 'wireguard' ]; then
5454
# sudo raises "unable to resolve host" error if host networking
5555
# is used for this container. Hence, hostname is added to
5656
# /etc/hosts here.
57-
echo "127.0.0.1 $(hostname)" >> /etc/hosts
57+
echo "127.0.0.1 $(hostname)" >>/etc/hosts
5858
# The image is started with the root user. This sets the
5959
# environment variables only for the root user.
6060
# These environment variables are required when script is
6161
# executed by the "openwisp" user through cronjob, hence
6262
# the environment variables are saved in this file which
6363
# is loaded by the shell.
64-
env >> /etc/environment
64+
env >>/etc/environment
6565
sudo -u openwisp -E bash -c "source utils.sh; wireguard_setup"
6666

6767
elif [ "$MODULE_NAME" = 'wireguard_updater' ]; then

0 commit comments

Comments
 (0)