BUGFIX when no -s

This commit is contained in:
yo 2021-12-21 20:47:46 +01:00
parent fb94921afd
commit 12c0a37617

View File

@ -361,7 +361,7 @@ func ListJails(args []string, display bool) {
/ Sort jails
/ We support 3 sort criteria max
/***********************************************************************************/
if len(gSortFields) > 0 {
if len(gSortFields) > 0 && gSortFields != "none" {
js := initSortStruct()
// The way we manage criteria quantity is not very elegant...