aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2006-02-02 12:07:14 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2006-02-02 12:07:14 +0000
commit27c1b7b09d9d5cdd12f3fb90e1dd46fa185f3ab9 (patch)
tree4d0174d99bfcc3a832b414a2e0c2429befae53db
parent6f0233e11e9a819e2bc50d4e0d09dd7d083071d6 (diff)
downloadsshfs-27c1b7b09d9d5cdd12f3fb90e1dd46fa185f3ab9.tar
sshfs-27c1b7b09d9d5cdd12f3fb90e1dd46fa185f3ab9.tar.gz
sshfs-27c1b7b09d9d5cdd12f3fb90e1dd46fa185f3ab9.tar.bz2
sshfs-27c1b7b09d9d5cdd12f3fb90e1dd46fa185f3ab9.zip
fix
-rw-r--r--sshfs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sshfs.c b/sshfs.c
index 18da591..efec915 100644
--- a/sshfs.c
+++ b/sshfs.c
@@ -2291,6 +2291,10 @@ int main(int argc, char *argv[])
ssh_add_arg(sftp_server);
free(sshfs.sftp_server);
+ res = processing_init();
+ if (res == -1)
+ exit(1);
+
if (connect_remote() == -1)
exit(1);
@@ -2299,10 +2303,6 @@ int main(int argc, char *argv[])
sftp_detect_uid();
#endif
- res = processing_init();
- if (res == -1)
- exit(1);
-
res = cache_parse_options(&args);
if (res == -1)
exit(1);