Removed debug output from rest api
@@ -1973,9 +1973,9 @@ int DeRestPluginPrivate::modifyConfig(const ApiRequest &req, ApiResponse &rsp)
if (symlink(param1, "/etc/localtime") == -1)
{
DBG_Printf(DBG_INFO, "Create symlink to timezone failed with errno: %s\n", strerror(errno));
- rsp.list.append(errorToMap(ERR_INTERNAL_ERROR, QString("/config/timezone"), QString("Link timezone failed with errno: %1\n").arg(strerror(errno))));
- rsp.httpStatus = HttpStatusServiceUnavailable;
- return REQ_READY_SEND;
+ //rsp.list.append(errorToMap(ERR_INTERNAL_ERROR, QString("/config/timezone"), QString("Link timezone failed with errno: %1\n").arg(strerror(errno))));
+ //rsp.httpStatus = HttpStatusServiceUnavailable;
+ //return REQ_READY_SEND;
}
if (rc != 0)
