Source

riak / start-backup-restore.sh

Diff from to

File start-backup-restore.sh

 #  Join riak cluster <clustername> using erlcookie <cookie>
 #  via the node listening at <ip>:<port>
 #  and overwrite cluster data with that contained in <dumpfilename>
-if [ $# -le 5 ]; then
+if [ $# -lt 5 ]; then
     echo Usage: 1>&2
     echo "    `basename $0` <clustername> <cookie> <ip in ring> " 1>&2
     echo "                  <doorbell port> <filename to restore from>" 1>&2