From b67e33ff8eeeca58c763112c172221a1a5fe593d Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 1 Jan 2022 22:35:41 +0100 Subject: fix typo and arguments --- save-graph | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2