Commit c824ae6e authored by Joanne Hugé's avatar Joanne Hugé

Don't fail if /srv/slapgrid doesn't exist

parent 7a65f77d
...@@ -64,7 +64,7 @@ if [ -z "$OLD_VERSION" ]; then ...@@ -64,7 +64,7 @@ if [ -z "$OLD_VERSION" ]; then
usage; exit usage; exit
fi fi
if grep -q started $(find /srv/slapgrid -type f -name "*requested_state*" || true); then if test -d /srv/slapgrid && grep -q started $(find /srv/slapgrid -type f -name "*requested_state*" || true); then
echo "Please stop all slapos services before installing root access" echo "Please stop all slapos services before installing root access"
exit exit
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment