Skip to content

Commit

Permalink
Fix wrong redirect notation
Browse files Browse the repository at this point in the history
&> is allowd but 2&>1 is not allowed.
  • Loading branch information
masatake authored and chris1984 committed Nov 14, 2018
1 parent dc186f4 commit 22d4445
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/rhsm-katello-reconfigure.erb
Original file line number Diff line number Diff line change
Expand Up @@ -111,17 +111,17 @@ if [ -d $CA_TRUST_ANCHORS ]; then
# reload docker if it is installed and running
if [ -f /usr/lib/systemd/system/docker.service ]; then
systemctl status docker >/dev/null && \
systemctl reload docker >/dev/null 2&>1
systemctl reload docker >/dev/null 2>&1
elif [ -f /etc/init.d/docker ]; then
service docker status >/dev/null && \
service docker reload >/dev/null 2&>1
service docker reload >/dev/null 2>&1
fi
fi

# restart goferd if it is installed and running
[ -f /etc/init.d/goferd ] && \
service goferd status >/dev/null && \
service goferd restart >/dev/null 2&>1
service goferd restart >/dev/null 2>&1

[ -f /usr/lib/systemd/system/goferd.service ] && \
[ -f /bin/systemctl ] && \
Expand Down

0 comments on commit 22d4445

Please sign in to comment.