mirror of https://mirror.osredm.com/root/redis.git
ACL: fix ACLSaveToFile() return value.
This commit is contained in:
parent
2bea3929d0
commit
07473feaeb
|
@ -1324,7 +1324,7 @@ cleanup:
|
||||||
if (tmpfilename) unlink(tmpfilename);
|
if (tmpfilename) unlink(tmpfilename);
|
||||||
sdsfree(tmpfilename);
|
sdsfree(tmpfilename);
|
||||||
sdsfree(acl);
|
sdsfree(acl);
|
||||||
return C_OK;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* This function is called once the server is already running, modules are
|
/* This function is called once the server is already running, modules are
|
||||||
|
|
Loading…
Reference in New Issue