Backend: fix getting parent directory on some devices

/tmp/updater: line 33: cd: /tmp/anykernel/..: No such file or directory

Closes #41
This commit is contained in:
wloot authored and osm0sis committed 2019-06-26 17:16:06 -03:00
1 parent 46614b2f84
commit a7af28e25b
1 file changed
+1 -1
+1 -1
View File
@@ -30,7 +30,7 @@ int2ver() {
fi;
}
cleanup() {
cd $home/..;
cd $(dirname $home);
rm -rf $home;
}
debugging() {