summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsave-graph4
1 files changed, 3 insertions, 1 deletions
diff --git a/save-graph b/save-graph
index 005e6be..fd193d8 100755
--- a/save-graph
+++ b/save-graph
@@ -4,6 +4,8 @@ graph=$(
tinc --net=$1 dump digraph
)
+shift
+
pre=$(
printf '%s\n' "${graph}" \
| sed '
@@ -51,7 +53,7 @@ inter=$(
if printf '%s\n' "${graph}" \
| grep -qwF backup \
&& printf '%s\n' "${graph}" \
-| greo -qwF backup_lo; then
+| grep -qwF backup_lo; then
extra='
"backup" -> "backup_lo" [style=dashed, constraint=false, dir=none];'
else