Commit dbd8c2ff authored by Daniel STAN's avatar Daniel STAN

import relatif de backup_config

parent 824f9d16
#!/bin/bash
source backup_config.sh
source `dirname $0`/backup_config.sh
available_local () {
# TODO escape
......@@ -28,6 +28,7 @@ elif [ "$1" = "incsend" ]; then
echo "Trying to send last snap $SNAP"
PARENT=`available_common | sort | tail -n 1`
echo "Parent $PARENT"
read -p "[press enter to continue]"
if [ "$PARENT" = "$SNAP" ]; then
echo "Parent and Snap coincide ! Already sent ! Aborting"
exit 1
......
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