projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
maga
[citadel.git]
/
citadel
/
utils
/
ctdlmigrate.c
diff --git
a/citadel/utils/ctdlmigrate.c
b/citadel/utils/ctdlmigrate.c
index 199772ecc99b21c02e1ff89152209347d0583e63..8fdfa3336c86d68ca84da16d0bcb8175194a891e 100644
(file)
--- a/
citadel/utils/ctdlmigrate.c
+++ b/
citadel/utils/ctdlmigrate.c
@@
-259,10
+259,6
@@
FAIL: if (sourcefp) pclose(sourcefp);
snprintf(cmd, sizeof cmd, "rsync -va --rsh='ssh -S %s' %s@%s:%s/ %s/",
socket_path, remote_user, remote_host, &buf[5], ctdl_key_dir);
}
snprintf(cmd, sizeof cmd, "rsync -va --rsh='ssh -S %s' %s@%s:%s/ %s/",
socket_path, remote_user, remote_host, &buf[5], ctdl_key_dir);
}
- else if (!strncasecmp(buf, "images|", 7)) {
- snprintf(cmd, sizeof cmd, "rsync -va --rsh='ssh -S %s' %s@%s:%s/ %s/",
- socket_path, remote_user, remote_host, &buf[7], ctdl_image_dir);
- }
else {
strcpy(cmd, "false"); /* cheap and sleazy way to throw an error */
}
else {
strcpy(cmd, "false"); /* cheap and sleazy way to throw an error */
}