diff --git a/climax/main/preprocess.py b/climax/main/preprocess.py
index f5f9c03a68d636283943a2c8cdeeb3d58af5e49a..6f24d00bdd9f3d110d5da297e084b2b4887f26c5 100644
--- a/climax/main/preprocess.py
+++ b/climax/main/preprocess.py
@@ -102,7 +102,7 @@ if __name__ == '__main__':
             # check whether to only print which files would be processed
             if args.dry_run:
                 LogConfig.init_log('Dry run. No files processed.')
-                sys.exit()
+                return
 
             # run reprojection in parallel
             target = Parallel(n_jobs=-1, verbose=51)(