Fix incorrect keyword arguments
This commit is contained in:
parent
553f48fa27
commit
0feb86ceef
2 changed files with 2 additions and 2 deletions
0
a
0
a
|
|
@ -24,8 +24,8 @@ def umount(mount_point, exists=True):
|
||||||
mount_point))
|
mount_point))
|
||||||
|
|
||||||
def resize(img_file, size):
|
def resize(img_file, size):
|
||||||
run(["sudo", "e2fsck", "-y", "-f", img_file], "^e2fsck \d+\.\d+\.\d (.+)\n$")
|
run(["sudo", "e2fsck", "-y", "-f", img_file], ignore="^e2fsck \d+\.\d+\.\d (.+)\n$")
|
||||||
run(["sudo", "resize2fs", img_file, size], "^resize2fs \d+\.\d+\.\d (.+)\n$")
|
run(["sudo", "resize2fs", img_file, size], ignore="^resize2fs \d+\.\d+\.\d (.+)\n$")
|
||||||
|
|
||||||
def get_image_dir():
|
def get_image_dir():
|
||||||
# Read waydroid config to get image location
|
# Read waydroid config to get image location
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue