aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/bin/frsync
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/.local/bin/frsync')
-rwxr-xr-xdotfiles/.local/bin/frsync2
1 files changed, 1 insertions, 1 deletions
diff --git a/dotfiles/.local/bin/frsync b/dotfiles/.local/bin/frsync
index f61defc..d524569 100755
--- a/dotfiles/.local/bin/frsync
+++ b/dotfiles/.local/bin/frsync
@@ -16,7 +16,7 @@ else
target="$2"
fi
-l=$(grep "$target" $HOME/.config/frsync.conf)
+l=$(grep "^$target" $HOME/.config/frsync.conf)
[ -z "$l" ] && echo "No such target $target" && exit 1