Skip to content

Commit 49970b6

Browse files
committed
src/nft-helper: minor formatting fixes
Signed-off-by: Joachim Wiberg <[email protected]>
1 parent 3f7f7d5 commit 49970b6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/nft-helper/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ We could use a simple script for this, as shown below, and that would
88
be fine if we had a POSIX shell in the container. This helper is for
99
the case when there is nothing.
1010

11-
```
11+
```sh
1212
#!/bin/sh
1313
# nft wrapper to load rules at startup and flush at shutdown
1414

1515
flush()
1616
{
17-
echo "Got signal, stopping ..."
18-
nft flush ruleset
19-
exit 0
17+
echo "Got signal, stopping ..."
18+
nft flush ruleset
19+
exit 0
2020
}
2121

2222
trap flush INT TERM QUIT EXIT

0 commit comments

Comments
 (0)