From 12c0a376177e209ac043b2ba22660b4f449b9c72 Mon Sep 17 00:00:00 2001 From: yo Date: Tue, 21 Dec 2021 20:47:46 +0100 Subject: [PATCH] BUGFIX when no -s --- cmd/list.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/list.go b/cmd/list.go index 85a493a..832b6fc 100644 --- a/cmd/list.go +++ b/cmd/list.go @@ -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...