mirror of
https://github.com/opnsense/src.git
synced 2026-02-11 23:06:12 -05:00
Make sure to not skip any argument when converting from deprecated
+POS1, -POS2 to -kPOS1,POS2, so that sort +0n gets translated to sort -k1,1n as it is expected PR: 193994 Submitted by: rodrigo MFC after: 3 days
This commit is contained in:
parent
0434c163cc
commit
3e16491d77
1 changed files with 1 additions and 1 deletions
|
|
@ -897,7 +897,7 @@ fix_obsolete_keys(int *argc, char **argv)
|
|||
}
|
||||
}
|
||||
}
|
||||
sprintf(sopt, "-k%d.%d", f1, c1);
|
||||
sprintf(sopt, "-k%d.%d%s", f1, c1, sopts1);
|
||||
argv[i] = sort_strdup(sopt);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue