Commit d3db6226 authored by owsla's avatar owsla

Print a more informative error message if the user's remote shell prints

extraneous information before rdiff-backup runs.


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@948 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent 3fe82d3a
New in v1.2.2 (????/??/??)
---------------------------
Print a more informative error message if the user's remote shell prints
extraneous information before rdiff-backup runs. (Andrew Ferguson)
Don't backup Windows ACLs if the --no-acls option is specified. Thanks to
Richard Metzger for reporting the issue. (Andrew Ferguson)
......
......@@ -164,6 +164,19 @@ installed in the PATH on the remote system. See the man page for more
information on this. This message may also be displayed if the remote
version of rdiff-backup is quite different from the local version (%s)."""
% (exception, remote_cmd, Globals.version))
except OverflowError, exc:
Log.FatalError("""Integer overflow while attempting to establish the
remote connection by executing
%s
Please make sure that nothing is printed (e.g., by your login shell) when this
command executes. Try running this command:
%s
which should only print out the text: rdiff-backup <version>""" % (remote_cmd,
remote_cmd.replace("--server", "--version")))
if remote_version != Globals.version:
Log("Warning: Local version %s does not match remote version %s."
......
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