mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Handle no space left on device.
This commit is contained in:
parent
f607dfbefa
commit
ebfbcf18a5
@ -223,6 +223,8 @@ static int _csync_push_file(CSYNC *ctx, csync_file_stat_t *st) {
|
||||
if (csync_vio_close(ctx, dfp) < 0) {
|
||||
dfp = NULL;
|
||||
switch (errno) {
|
||||
/* stop if no space left or quota exceeded */
|
||||
case ENOSPC:
|
||||
case EDQUOT:
|
||||
CSYNC_LOG(CSYNC_LOG_PRIORITY_ERROR,
|
||||
"file: %s, command: close, error: %s",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user