summaryrefslogtreecommitdiffstats
path: root/src/file_relay.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/file_relay.c')
-rw-r--r--src/file_relay.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/file_relay.c b/src/file_relay.c
index 3d1eb12..9508c2a 100644
--- a/src/file_relay.c
+++ b/src/file_relay.c
@@ -110,6 +110,9 @@ file_relay_error_t file_relay_request_sources_timeout(file_relay_client_t client
} else if (!strcmp(errmsg, "StagingEmpty")) {
debug_info("ERROR: StagingEmpty - No data available!");
err = FILE_RELAY_E_STAGING_EMPTY;
+ } else if (!strcmp(errmsg, "PermissionDenied")) {
+ debug_info("ERROR: Permission denied.");
+ err = FILE_RELAY_E_PERMISSION_DENIED;
} else {
debug_info("ERROR: Unknown error '%s'", errmsg);
}