summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/utils/fs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/fs.py b/src/utils/fs.py
index 4d54586..57e6674 100644
--- a/src/utils/fs.py
+++ b/src/utils/fs.py
@@ -250,6 +250,6 @@ def _extend_resize2fs(partdev):
def _extend_ntfsresize(partdev):
cmd = shlex.split(f'ntfsresize -f {partdev}')
- proc = subprocess.run(cmd, input='y')
+ proc = subprocess.run(cmd, input=b'y')
if proc.returncode != 0:
raise RuntimeError(f'Error growing ntfs filesystem at {partdev}')