Skip to content

Commit 332d97a

Browse files
committed
Manual fixes by shellcheck
1 parent e3589f2 commit 332d97a

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

nets/8r-1c-srv6-pm/nodeconf/common/ebpf_helper.sh

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,23 @@
33
# Error codes
44
# @see /usr/include/sysexits.h
55

6-
readonly EX_OK=0 # /* successful termination */
7-
readonly EX__BASE=64 # /* base value for error messages */
8-
readonly EX_USAGE=64 # /* command line usage error */
6+
# readonly EX_OK=0 # /* successful termination */
7+
# readonly EX__BASE=64 # /* base value for error messages */
8+
# readonly EX_USAGE=64 # /* command line usage error */
99
readonly EX_DATAERR=65 # /* data format error */
1010
readonly EX_NOINPUT=66 # /* cannot open input */
11-
readonly EX_NOUSER=67 # /* addressee unknown */
12-
readonly EX_NOHOST=68 # /* host name unknown */
13-
readonly EX_UNAVAILABLE=69 # /* service unavailable */
14-
readonly EX_SOFTWARE=70 # /* internal software error */
15-
readonly EX_OSERR=71 # /* system error (e.g., can't fork) */
16-
readonly EX_OSFILE=72 # /* critical OS file missing */
17-
readonly EX_CANTCREAT=73 # /* can't create (user) output file */
11+
# readonly EX_NOUSER=67 # /* addressee unknown */
12+
# readonly EX_NOHOST=68 # /* host name unknown */
13+
# readonly EX_UNAVAILABLE=69 # /* service unavailable */
14+
# readonly EX_SOFTWARE=70 # /* internal software error */
15+
# readonly EX_OSERR=71 # /* system error (e.g., can't fork) */
16+
# readonly EX_OSFILE=72 # /* critical OS file missing */
17+
# readonly EX_CANTCREAT=73 # /* can't create (user) output file */
1818
readonly EX_IOERR=74 # /* input/output error */
19-
readonly EX_TEMPFAIL=75 # /* temp failure; user is invited to retry */
20-
readonly EX_PROTOCOL=76 # /* remote error in protocol */
21-
readonly EX_NOPERM=77 # /* permission denied */
22-
readonly EX_CONFIG=78 # /* configuration error */
19+
# readonly EX_TEMPFAIL=75 # /* temp failure; user is invited to retry */
20+
# readonly EX_PROTOCOL=76 # /* remote error in protocol */
21+
# readonly EX_NOPERM=77 # /* permission denied */
22+
# readonly EX_CONFIG=78 # /* configuration error */
2323

2424
if [ -n "${CDIR+x}" ]; then
2525
readonly export EBPF_CLI="${CDIR}/ebpf_py_cli.py"

0 commit comments

Comments
 (0)