From 39c651e9097e0e55a52c897982d6e84d281f7396 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 12 Mar 2007 18:22:55 +0000 Subject: introduce and use setfscreatecon_or_die (patch by Yuichi Nakamura ) runcon: *yet another* fix for vda's brainfart :( --- libbb/copy_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbb/copy_file.c') diff --git a/libbb/copy_file.c b/libbb/copy_file.c index 6391824aa..07564afd0 100644 --- a/libbb/copy_file.c +++ b/libbb/copy_file.c @@ -74,7 +74,7 @@ int copy_file(const char *source, const char *dest, int flags) } } else { if (errno == ENOTSUP || errno == ENODATA) { - setfscreatecon(NULL); + setfscreatecon_or_die(NULL); } else { bb_perror_msg("cannot lgetfilecon %s", source); return -1; -- cgit v1.2.3