1
0
mirror of https://github.com/elliotnunn/machfs.git synced 2025-04-03 17:29:52 +00:00

Bugfix for no-start-app case!

This commit is contained in:
Elliot Nunn 2018-11-06 08:38:26 +08:00
parent 3a94d52888
commit 34eecddc28

@ -358,7 +358,7 @@ class Volume(directory.AbstractFolder):
bootblocks[:] = bb
system_folder_cnid = path2wrap[path[:-1]].cnid
if isinstance(obj, File) and path[1:] == tuple(startapp):
if isinstance(obj, File) and startapp and path[1:] == tuple(startapp):
startapp_folder_cnid = path2wrap[path[:-1]].cnid
if isinstance(obj, File):