From 13edf62824391e261a64fbdd9d85e91f94f252b0 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Sun, 31 Jan 2016 16:15:25 +0000 Subject: [PATCH] Document rclone return codes - fixes #308 --- docs/content/docs.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/content/docs.md b/docs/content/docs.md index 755015a12..1e85beefc 100644 --- a/docs/content/docs.md +++ b/docs/content/docs.md @@ -459,3 +459,11 @@ For the filtering options * `--dump-filters` See the [filtering section](/filtering/). + +Exit Code +--------- + +If any errors occurred during the command, rclone will set a non zero +exit code. This allows scripts to detect when rclone operations have +failed. +