Browse Source

fix: [vps] prevent display of warning messages if ``-s`` silent mode is on.

rc1
Valentin Lab 2 years ago
parent
commit
ae0834c1f5
  1. 11
      bin/vps

11
bin/vps

@ -1681,14 +1681,15 @@ cmdline.spec::cmd:check-fix:run() {
fi
done
if [ -z "$found" ]; then
if [ "${#SERVICES[@]}" -gt 0 ]; then
warn "No container for given services found in current project '$project_name'."
else
warn "No container found for current project '$project_name'."
if [ -z "$opt_silent" ]; then
if [ "${#SERVICES[@]}" -gt 0 ]; then
warn "No container for given services found in current project '$project_name'."
else
warn "No container found for current project '$project_name'."
fi
fi
return 1
fi
}

Loading…
Cancel
Save