commit | 39c651e9097e0e55a52c897982d6e84d281f7396 | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Mon Mar 12 18:22:55 2007 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Mon Mar 12 18:22:55 2007 +0000 |
tree | ad535283af2299825f65b6b44c889dc7e7bfc842 | |
parent | b3f09f4a5092aacbdc3da80d4fefeaf06445a4f8 [diff] [blame] |
introduce and use setfscreatecon_or_die (patch by Yuichi Nakamura <ynakam@hitachisoft.jp>) runcon: *yet another* fix for vda's brainfart :(
diff --git a/libbb/copy_file.c b/libbb/copy_file.c index 6391824..07564af 100644 --- a/libbb/copy_file.c +++ b/libbb/copy_file.c
@@ -74,7 +74,7 @@ } } else { if (errno == ENOTSUP || errno == ENODATA) { - setfscreatecon(NULL); + setfscreatecon_or_die(NULL); } else { bb_perror_msg("cannot lgetfilecon %s", source); return -1;