mirror of
https://github.com/opnsense/src.git
synced 2026-06-14 19:20:18 -04:00
ls: Fix -v and associated test
The cleanup ofd854370fa8had a cut and paste error (so f_verssort was set to 1 and then to 0 rather thame f_timesort being set to 0). Fixes:d854370fa8Sponsored by: Netflix
This commit is contained in:
parent
bcaa0b4c2b
commit
ef75877fc2
1 changed files with 2 additions and 1 deletions
|
|
@ -327,7 +327,7 @@ main(int argc, char *argv[])
|
|||
case 'v':
|
||||
f_verssort = 1;
|
||||
f_sizesort = 0;
|
||||
f_verssort = 0;
|
||||
f_timesort = 0;
|
||||
break;
|
||||
/* Other flags. Please keep alphabetic. */
|
||||
case ',':
|
||||
|
|
@ -566,6 +566,7 @@ main(int argc, char *argv[])
|
|||
blocksize /= 512;
|
||||
}
|
||||
}
|
||||
|
||||
/* Select a sort function. */
|
||||
if (f_reversesort) {
|
||||
if (f_sizesort)
|
||||
|
|
|
|||
Loading…
Reference in a new issue