summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cssh.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cssh.c b/src/cssh.c
index 95a7a5a..ba00c5c 100644
--- a/src/cssh.c
+++ b/src/cssh.c
@@ -1022,6 +1022,9 @@ int main( int argc, char *argv[] )
switch( copy_direction ) {
case CSSH_COPY_DIRECTION_UPLOAD: {
+ fprintf( stderr, "ERROR: SCP upload has not been implemented yet.\n" );
+ cleanup_sessions( &session, NULL, &scp, &read_state, &buf, &dir_stack, host, port, nof_sessions, args_info.verbose_given > 0 );
+ exit( EXIT_FAILURE );
} break;
case CSSH_COPY_DIRECTION_DOWNLOAD: {