Running this ability displays the error: sh: 1: Syntax error: ";" unexpected
Cause: the command is
if [ -x "$(command -v ip)" ]; then : ; else apt-get install iproute2 -y; fi; ; ip neighbour show
There is an extra semicolon before 'ip neighbour' show. Removing this fixes the problem.
Running this ability displays the error: sh: 1: Syntax error: ";" unexpected
Cause: the command is
if [ -x "$(command -v ip)" ]; then : ; else apt-get install iproute2 -y; fi; ; ip neighbour show
There is an extra semicolon before 'ip neighbour' show. Removing this fixes the problem.