Skip to content

Commit

Permalink
Symlink only once
Browse files Browse the repository at this point in the history
  • Loading branch information
gernest committed Jan 4, 2017
1 parent 1b3ea30 commit 1378670
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion udev/device.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,9 @@ func (m *Manager) Symlink(d *db.Dongle) {
if err != nil {
return
}
m.symlink(c)
if !c.IsSymlinked {
m.symlink(c)
}
}

//FindDongle thic=s checks if the udev Device is a donge. We are only interested
Expand Down

0 comments on commit 1378670

Please sign in to comment.