File fix-potential-bashisms.patch of Package opensnitch
--- a/utils/scripts/debug-ebpf-maps.sh
+++ b/utils/scripts/debug-ebpf-maps.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# OpenSnitch - 2023
# https://github.com/evilsocket/opensnitch
@@ -6,7 +6,7 @@
# Usage: bash debug-ebpf-maps.sh tcp (or tcpv6, udp, udpv6)
#
-function print_map_proto
+print_map_proto()
{
case "$1" in
12001)
@@ -24,7 +24,7 @@
esac
}
-function dump_map
+dump_map()
{
echo
print_map_proto $mid