diff options
author | Rob Landley <rob@landley.net> | 2018-12-19 16:50:10 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2018-12-19 16:50:10 -0600 |
commit | 5ebd387640ed45bd320431ad30ec92103166ef74 (patch) | |
tree | 41cc271d225a3c48237cefe4bbdea97b8e2ef6c2 /toys/posix | |
parent | b3b5ae1240cc45db80a2412e769ebace72281f00 (diff) | |
download | toybox-5ebd387640ed45bd320431ad30ec92103166ef74.tar.gz |
Fix sort -x attached to a key.
Diffstat (limited to 'toys/posix')
-rw-r--r-- | toys/posix/sort.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/sort.c b/toys/posix/sort.c index 2f4d49a0..4c9452eb 100644 --- a/toys/posix/sort.c +++ b/toys/posix/sort.c @@ -328,7 +328,7 @@ void sort_main(void) // Was it a flag that can apply to a key? - if (!temp2 || flag>FLAG_b + if (!temp2 || flag>FLAG_x || (flag&(FLAG_u|FLAG_c|FLAG_s|FLAG_z))) { error_exit("Unknown key option."); |