aboutsummaryrefslogtreecommitdiff
path: root/loginutils/add-remove-shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'loginutils/add-remove-shell.c')
-rw-r--r--loginutils/add-remove-shell.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/loginutils/add-remove-shell.c b/loginutils/add-remove-shell.c
index 2470050e7..ff54ab5db 100644
--- a/loginutils/add-remove-shell.c
+++ b/loginutils/add-remove-shell.c
@@ -64,7 +64,6 @@ int add_remove_shell_main(int argc UNUSED_PARAM, char **argv)
64 if (orig_fp) 64 if (orig_fp)
65 xfstat(fileno(orig_fp), &sb, orig_fn); 65 xfstat(fileno(orig_fp), &sb, orig_fn);
66 66
67
68 new_fn = xasprintf("%s.tmp", orig_fn); 67 new_fn = xasprintf("%s.tmp", orig_fn);
69 /* 68 /*
70 * O_TRUNC or O_EXCL? At the first glance, O_EXCL looks better, 69 * O_TRUNC or O_EXCL? At the first glance, O_EXCL looks better,