summaryrefslogtreecommitdiff
path: root/libbb/copy_file.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-03-20 11:30:28 +0000
committerDenis Vlasenko2007-03-20 11:30:28 +0000
commitc86e052b81210e762f8ca6b79cb46b8c4bdfbfe0 (patch)
tree90608280101218f60c7d9181b913e92ba895799d /libbb/copy_file.c
parente84aeb5bcb1a8398fce53aad9c0072ad73a8b5c9 (diff)
downloadbusybox-c86e052b81210e762f8ca6b79cb46b8c4bdfbfe0.zip
busybox-c86e052b81210e762f8ca6b79cb46b8c4bdfbfe0.tar.gz
fix accumulated whitespace and indentation damage
Diffstat (limited to 'libbb/copy_file.c')
-rw-r--r--libbb/copy_file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/copy_file.c b/libbb/copy_file.c
index 58d657b..7d85920 100644
--- a/libbb/copy_file.c
+++ b/libbb/copy_file.c
@@ -250,11 +250,11 @@ int copy_file(const char *source, const char *dest, int flags)
|| (flags & FILEUTILS_SET_SECURITY_CONTEXT))
&& is_selinux_enabled() > 0
) {
- security_context_t con;
+ security_context_t con;
if (getfscreatecon(&con) == -1) {
bb_perror_msg("getfscreatecon");
return -1;
- }
+ }
if (con) {
if(setfilecon(dest, con) == -1) {
bb_perror_msg("setfilecon:%s,%s", dest, con);