Skip to content

Commit

Permalink
svc/squashdir-mount.initd: minor prefix slash (/) fix (lets fix for g…
Browse files Browse the repository at this point in the history
…ood)
  • Loading branch information
tokiclover committed Oct 13, 2014
1 parent 88a4c19 commit 0706a3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions svc/squashdir-mount.initd
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ stop_pre()
squash_mount()
{
local base="${1}/${dir#/}" ret
local dir="/${dir#/}"

if grep -q "aufs:${dir}" /proc/mounts; then
einfo "squash-ed aufs:${dir} already mounted"
Expand Down

0 comments on commit 0706a3e

Please sign in to comment.