files: avoid cleanup if old home-files is missing
This commit is contained in:
parent
8afee75d0d
commit
171702dd88
|
@ -239,7 +239,7 @@ in
|
|||
}
|
||||
|
||||
function cleanOldGen() {
|
||||
if [[ ! -v oldGenPath ]] ; then
|
||||
if [[ ! -v oldGenPath || ! -e "$oldGenPath/home-files" ]] ; then
|
||||
return
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue