lib/rsync/result.rb in rsync-1.0.8 vs lib/rsync/result.rb in rsync-1.0.9
- old
+ new
@@ -1,9 +1,12 @@
require 'rsync/change'
module Rsync
# The result of a sync.
class Result
+ # Exit code returned by rsync
+ attr_accessor :exitcode
+
# Error messages by exit code
ERROR_CODES = {
"0" => "Success",
"1" => "Syntax or usage error",
"2" => "Protocol incompatibility",