Skip to content

Commit

Permalink
rename2tied: proper data path check
Browse files Browse the repository at this point in the history
  • Loading branch information
pyroscope committed Aug 27, 2017
1 parent 4e99a7b commit 38bdbfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/examples/rename2tied.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fail() {

test -n "$path" || fail "Empty directory"
test -n "$tied" || fail "Empty tied file"
test ! -e "$path" || fail "Cannot rename an item with existing data"
test ! -e "$path/$name" || fail "Cannot rename an item with existing data"

tracker="$(rtcontrol --from-view $hash // -qo alias)"

Expand Down

0 comments on commit 38bdbfa

Please sign in to comment.