mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-10-23 08:55:25 +00:00
fix(setup): anchor validateSwarm grep to whole line
This commit is contained in:
@@ -18,7 +18,7 @@ export const validateRClone = () => `
|
||||
`;
|
||||
|
||||
export const validateSwarm = () => `
|
||||
if docker info --format '{{.Swarm.LocalNodeState}}' | grep -q 'active'; then
|
||||
if docker info --format '{{.Swarm.LocalNodeState}}' | grep -qx 'active'; then
|
||||
echo true
|
||||
else
|
||||
echo false
|
||||
|
||||
Reference in New Issue
Block a user