Silent error if there is no timestamp.

It's not a bug, it's a feature.
parent b6a53736
...@@ -73,8 +73,9 @@ if [ $ONLY_SLAPFORMAT = false ]; then ...@@ -73,8 +73,9 @@ if [ $ONLY_SLAPFORMAT = false ]; then
echo "done." echo "done."
# Delete timestamp of all partitions so that it will force slapgrid to process them. # Delete timestamp of all partitions so that it will force slapgrid to process them.
rm /srv/slapgrid/slappart*/.timestamp rm /srv/slapgrid/slappart*/.timestamp 2>/dev/null
# Run slapgrid now. # Run slapgrid now.
/opt/slapos/bin/slapgrid-cp --verbose --now --logfile=/opt/slapos/slapgrid-cp.log --pidfile=/opt/slapos/slapgrid-cp.pid $SLAPOS_CONFIGURATION/slapos.cfg >> /opt/slapos/slapgrid-cp.log 2>&1 /opt/slapos/bin/slapgrid-cp --verbose --now --logfile=/opt/slapos/slapgrid-cp.log --pidfile=/opt/slapos/slapgrid-cp.pid $SLAPOS_CONFIGURATION/slapos.cfg >> /opt/slapos/slapgrid-cp.log 2>&1
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