Skip to content

Commit 6fbd3f4

Browse files
committed
functions: remove sudo calls
1 parent 0be7f76 commit 6fbd3f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sabayondevkit-functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ check_docker_requirements(){
66
if [ "$(id -u)" != "0" ]; then
77
groups | grep -q docker || echo "--> If you are not running the script as root, your user should be in the docker group to use it. (sudo gpasswd -a $USER docker)"
88
fi
9-
ps aux | grep -q '[d]ocker' || echo "--> Be sure to have the docker daemon running (sudo systemctl start docker) of configure it to run on boot (sudo systemctl enable docker). Trying to start it anyway" && sudo systemctl start docker || true
9+
ps aux | grep -q '[d]ocker' || echo "--> Be sure to have the docker daemon running (sudo systemctl start docker) of configure it to run on boot (sudo systemctl enable docker). Trying to start it anyway" && systemctl start docker || true
1010
}
1111

1212
die() { echo "$@" 1>&2 ; exit 1; }

0 commit comments

Comments
 (0)