[Commits] r661 - trunk/daemon/src
new-commit at lists.openvcp.org
new-commit at lists.openvcp.org
Sat May 2 17:38:26 UTC 2009
Author: cryptronic
Date: 2009-05-02 17:38:26 +0000 (Sat, 02 May 2009)
New Revision: 661
Modified:
trunk/daemon/src/userbackup.c
Log:
bugfix userbackup
Modified: trunk/daemon/src/userbackup.c
===================================================================
--- trunk/daemon/src/userbackup.c 2009-05-02 17:27:24 UTC (rev 660)
+++ trunk/daemon/src/userbackup.c 2009-05-02 17:38:26 UTC (rev 661)
@@ -236,7 +236,7 @@
if(dir_exist(homedir) && dir_exist(userbackupdir))
{
- if(dir_exist(homedir))
+ if(!dir_exist(homedir))
return ovcp_response_error(OVCP_ERROR_BACKUPFAIL, OVCP_ERROR_BACKUPFAIL_DESC);
ret = execb_cmd("rsync", "rsync", "-a", userbackupdir, homedir, NULL);
More information about the Commits
mailing list