aboutsummaryrefslogtreecommitdiff
path: root/sed.c
diff options
context:
space:
mode:
Diffstat (limited to 'sed.c')
-rw-r--r--sed.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sed.c b/sed.c
index a7152e52a..341924d6b 100644
--- a/sed.c
+++ b/sed.c
@@ -709,10 +709,8 @@ extern int sed_main(int argc, char **argv)
709 709
710#ifdef BB_FEATURE_CLEAN_UP 710#ifdef BB_FEATURE_CLEAN_UP
711 /* destroy command strings on exit */ 711 /* destroy command strings on exit */
712 if (atexit(destroy_cmd_strs) == -1) { 712 if (atexit(destroy_cmd_strs) == -1)
713 perror("sed"); 713 perror_msg_and_die("atexit");
714 exit(1);
715 }
716#endif 714#endif
717 715
718 /* do normal option parsing */ 716 /* do normal option parsing */