Skip to content

Commit 96aecae

Browse files
committed
aiscp: Handle empty source files
1 parent 6de0eaa commit 96aecae

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

examples/aiscp/aiscp.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ main(int argc, char *argv[])
121121
}
122122

123123
if (0 == file_size) {
124+
exit_status = EXIT_SUCCESS;
124125
goto close_dst;
125126
}
126127

0 commit comments

Comments
 (0)