svc.sh: fix runit detection (trailing space in /usr/bin/sv path)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -23,7 +23,7 @@ LCYAN="\033[1;36m"
|
|||||||
NC='\033[0m' # No Color
|
NC='\033[0m' # No Color
|
||||||
|
|
||||||
|
|
||||||
if [[ -f "/usr/bin/sv " ]];then
|
if [[ -f "/usr/bin/sv" ]];then
|
||||||
serviceManager="runit"
|
serviceManager="runit"
|
||||||
echo -e "${LGREEN}Detected Runit${NC}\n"
|
echo -e "${LGREEN}Detected Runit${NC}\n"
|
||||||
elif [[ -f "/usr/bin/systemctl" ]];then
|
elif [[ -f "/usr/bin/systemctl" ]];then
|
||||||
|
|||||||
Reference in New Issue
Block a user