From 7ca18c410bdae1a134fc4450a3979b853a238557 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Mon, 15 Jun 2020 13:12:43 -0700 Subject: [PATCH] Remove duplicates from the output of 'show actions' Signed-off-by: Tom Eastep --- Shorewall-core/lib.cli | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall-core/lib.cli b/Shorewall-core/lib.cli index 7b26e15e5..348ea5879 100644 --- a/Shorewall-core/lib.cli +++ b/Shorewall-core/lib.cli @@ -1109,7 +1109,7 @@ show_blacklists() { } show_actions_sorted() { - show_actions | sort + show_actions | sort -u -k 1,1 } show_macros() {