From b186a1b6ff0ac7a9558eb3618f2c42a69599c145 Mon Sep 17 00:00:00 2001 From: Patrick J Cherry Date: Wed, 2 Dec 2015 09:57:39 +0000 Subject: Catch out-dated clients by looking for the old "restore" command Hopefully this will prompt people to update. --- bin/byteback-receive | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bin/byteback-receive') diff --git a/bin/byteback-receive b/bin/byteback-receive index b415f0e..f475446 100755 --- a/bin/byteback-receive +++ b/bin/byteback-receive @@ -62,6 +62,10 @@ elsif ARGV[0] == 'byteback-snapshot' ARGV.concat(['--root', "#{byteback_root}"]) exec(*ARGV) +elsif ARGV[0] == "restore" + puts "** Your byteback package needs to be updated. Please update and try again." + exit(1) + end opts = Trollop.options do -- cgit v1.2.3