summaryrefslogtreecommitdiff
path: root/futility/cmd_gscvd.c
diff options
context:
space:
mode:
Diffstat (limited to 'futility/cmd_gscvd.c')
-rw-r--r--futility/cmd_gscvd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/futility/cmd_gscvd.c b/futility/cmd_gscvd.c
index e68faf9c..e9f49679 100644
--- a/futility/cmd_gscvd.c
+++ b/futility/cmd_gscvd.c
@@ -1293,7 +1293,8 @@ static int do_gscvd(int argc, char *argv[])
}
if (outfile) {
- futil_copy_file_or_die(infile, outfile);
+ if (futil_copy_file(infile, outfile) < 0)
+ exit(1);
work_file = outfile;
} else {
work_file = infile;