summaryrefslogtreecommitdiff
path: root/templates-op/show/nhrp/interface
diff options
context:
space:
mode:
Diffstat (limited to 'templates-op/show/nhrp/interface')
-rw-r--r--templates-op/show/nhrp/interface/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates-op/show/nhrp/interface/node.def b/templates-op/show/nhrp/interface/node.def
index 71b9f75..c00f5e2 100644
--- a/templates-op/show/nhrp/interface/node.def
+++ b/templates-op/show/nhrp/interface/node.def
@@ -1,3 +1,3 @@
help: Show NHRP interface connection information
run:
- sudo opennhrpctl interface show || echo OpenNHRP is not running.
+ if [ -f /var/run/opennhrp.pid ]; then sudo opennhrpctl interface show; else echo OpenNHRP is not running.; fi