Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix wrong redirect notation #224

Merged
merged 1 commit into from
Nov 14, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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