aboutsummaryrefslogtreecommitdiff
path: root/src/common-utils/install.sh
diff options
context:
space:
mode:
authorChuck Lantz <clantz@microsoft.com>2022-11-28 19:10:56 +0300
committerGitHub <noreply@github.com>2022-11-28 19:10:56 +0300
commit30f287605354478d4af5d6c8736c9a414369110c (patch)
treebcbefe53e100bc456d531a30d46f695d6b27276e /src/common-utils/install.sh
parent4b3ccf36eabcad859a13806a8dc47dfa651182a1 (diff)
Fix bad path to systemctl (#302)
Diffstat (limited to 'src/common-utils/install.sh')
-rwxr-xr-xsrc/common-utils/install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common-utils/install.sh b/src/common-utils/install.sh
index 8ac0a7c..878e9ca 100755
--- a/src/common-utils/install.sh
+++ b/src/common-utils/install.sh
@@ -292,7 +292,7 @@ cat << 'EOF' > /usr/local/bin/systemctl
#!/bin/sh
set -e
if [ -d "/run/systemd/system" ]; then
- exec /bin/systemctl/systemctl "$@"
+ exec /bin/systemctl "$@"
else
echo '\n"systemd" is not running in this container due to its overhead.\nUse the "service" command to start services instead. e.g.: \n\nservice --status-all'
fi