summaryrefslogtreecommitdiff
path: root/src/cp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cp.c')
-rw-r--r--src/cp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cp.c b/src/cp.c
index 99cafa7f5..6c7231a87 100644
--- a/src/cp.c
+++ b/src/cp.c
@@ -1214,7 +1214,9 @@ main (int argc, char **argv)
ok = do_copy (argc - optind, argv + optind,
target_directory, no_target_directory, &x);
+#ifdef lint
forget_all ();
+#endif
exit (ok ? EXIT_SUCCESS : EXIT_FAILURE);
}