aboutsummaryrefslogtreecommitdiff
path: root/sample.c
diff options
context:
space:
mode:
Diffstat (limited to 'sample.c')
-rw-r--r--sample.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sample.c b/sample.c
index 599163fb..74e09974 100644
--- a/sample.c
+++ b/sample.c
@@ -556,8 +556,10 @@ int main(int argc, char **argv){
else
batch_shell(session);
}
+#ifdef WITH_SFTP
else
- do_sftp(session);
+ do_sftp(session);
+#endif
if(!sftp && !cmds[0])
do_cleanup(0);
ssh_disconnect(session);