Skip to content

Commit

Permalink
fix Adding mount with similar machine name causes error #66
Browse files Browse the repository at this point in the history
  • Loading branch information
tonivdv committed Oct 25, 2016
1 parent 4add41b commit da064da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-machine-nfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,8 @@ configureNFS()

#-- Update the /etc/exports file and restart nfsd

local exports_begin="# docker-machine-nfs-begin $prop_machine_name"
local exports_end="# docker-machine-nfs-end $prop_machine_name"
local exports_begin="# docker-machine-nfs-begin $prop_machine_name #"
local exports_end="# docker-machine-nfs-end $prop_machine_name #"

# Remove old docker-machine-nfs exports
local exports=$(cat /etc/exports | \
Expand Down

0 comments on commit da064da

Please sign in to comment.