pigmonkey / cryptshot

Open and mount a LUKS volume before performing a backup with rsnaphot
15 stars 5 forks source link

check if MOUNTPOIT exists before rmdir, redundant but more secure #3

Closed backit closed 4 years ago

backit commented 4 years ago

As comment says, this is redundant but more secure, imho. Nice script!

pigmonkey commented 4 years ago

I would prefer that this is added with another && to the existing conditional on line 152. Two consecutive conditionals feels excessively redundant. If you want to make that change I'll merge it.

backit commented 4 years ago

i'll do it