mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
Fix 'env -' case
This commit is contained in:
Vendored
+1
-1
@@ -116,7 +116,7 @@ pub fn uumain(args: Vec<String>) -> i32 {
|
||||
}
|
||||
}
|
||||
} else if opt.starts_with("-") {
|
||||
if opt.len() == 0 {
|
||||
if opt.len() == 1 {
|
||||
// implies -i and stop parsing opts
|
||||
wait_cmd = true;
|
||||
opts.ignore_env = true;
|
||||
|
||||
Reference in New Issue
Block a user