aboutsummaryrefslogtreecommitdiff
path: root/libbb/copy_file.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-03-20 11:30:28 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-03-20 11:30:28 +0000
commit9dbd94421304e4bfca9dfb4883a7299b3fb2fe27 (patch)
tree90608280101218f60c7d9181b913e92ba895799d /libbb/copy_file.c
parent87dd90aa8ab4c88d3dee025044a419d8f2f49cd7 (diff)
downloadbusybox-w32-9dbd94421304e4bfca9dfb4883a7299b3fb2fe27.tar.gz
busybox-w32-9dbd94421304e4bfca9dfb4883a7299b3fb2fe27.tar.bz2
busybox-w32-9dbd94421304e4bfca9dfb4883a7299b3fb2fe27.zip
fix accumulated whitespace and indentation damage
git-svn-id: svn://busybox.net/trunk/busybox@18176 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 58d657b02..7d85920d9 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)
250 || (flags & FILEUTILS_SET_SECURITY_CONTEXT)) 250 || (flags & FILEUTILS_SET_SECURITY_CONTEXT))
251 && is_selinux_enabled() > 0 251 && is_selinux_enabled() > 0
252 ) { 252 ) {
253 security_context_t con; 253 security_context_t con;
254 if (getfscreatecon(&con) == -1) { 254 if (getfscreatecon(&con) == -1) {
255 bb_perror_msg("getfscreatecon"); 255 bb_perror_msg("getfscreatecon");
256 return -1; 256 return -1;
257 } 257 }
258 if (con) { 258 if (con) {
259 if(setfilecon(dest, con) == -1) { 259 if(setfilecon(dest, con) == -1) {
260 bb_perror_msg("setfilecon:%s,%s", dest, con); 260 bb_perror_msg("setfilecon:%s,%s", dest, con);