diff --git a/src/libsync/owncloudpropagator.cpp b/src/libsync/owncloudpropagator.cpp index e72f007ca..c123adf7c 100644 --- a/src/libsync/owncloudpropagator.cpp +++ b/src/libsync/owncloudpropagator.cpp @@ -47,7 +47,7 @@ qint64 criticalFreeSpaceLimit() qint64 value = 50 * 1000 * 1000LL; static bool hasEnv = false; - static qint64 env = qgetenv("OWNCLOUD_CRITICAL_FREE_SPACE").toLongLong(&hasEnv); + static qint64 env = qgetenv("OWNCLOUD_CRITICAL_FREE_SPACE_BYTES").toLongLong(&hasEnv); if (hasEnv) { value = env; } @@ -60,7 +60,7 @@ qint64 freeSpaceLimit() qint64 value = 250 * 1000 * 1000LL; static bool hasEnv = false; - static qint64 env = qgetenv("OWNCLOUD_FREE_SPACE").toLongLong(&hasEnv); + static qint64 env = qgetenv("OWNCLOUD_FREE_SPACE_BYTES").toLongLong(&hasEnv); if (hasEnv) { value = env; }