Skip to content

Commit 6acd1c5

Browse files
committed
add self to function call
Signed-off-by: Zen <[email protected]>
1 parent 7a26c0a commit 6acd1c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ugrd/base/cmdline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def mount_cmdline_root(self) -> str:
3636
'if [ $? -ne 0 ] || [ -z "$CMDLINE_ROOT" ]; then',
3737
' echo "Failed to mount the root parition using /proc/cmdline"']
3838
for func in self['_init_mount']:
39-
if not func():
39+
if not func(self):
4040
continue
4141
out_str.append(f' {func.__name__}')
4242
out_str.append('fi')

0 commit comments

Comments
 (0)