From 5ee7b5b8fcb1cc074412f681479465734391d561 Mon Sep 17 00:00:00 2001 From: Nathan Ross Date: Sun, 20 Dec 2015 20:55:16 -0500 Subject: [PATCH] rm recognition of "busybox" bin name in uutils.rs --- src/uutils/uutils.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/uutils/uutils.rs b/src/uutils/uutils.rs index 28d7c650d..de335b6f2 100644 --- a/src/uutils/uutils.rs +++ b/src/uutils/uutils.rs @@ -49,12 +49,7 @@ fn main() { None => (), } - if binary_as_util.ends_with("uutils") || binary_as_util.starts_with("uutils") || - binary_as_util.ends_with("busybox") || binary_as_util.starts_with("busybox") { - // uutils can be called as either "uutils", "busybox" - // "uutils-suffix" or "busybox-suffix". Not sure - // what busybox uses the -suffix pattern for. - } else { + if !(binary_as_util.ends_with("uutils") || binary_as_util.starts_with("uutils")) { println!("{}: applet not found", binary_as_util); std::process::exit(1); }