utils: fs: remove unused variable in _reduce_resize2fs

ret is set but never used in this method
master v1.3.2-7
OpenGnSys Support Team 2024-04-19 11:32:53 +02:00
parent 85bbdcfcb8
commit 481ce5794f
1 changed files with 0 additions and 1 deletions

View File

@ -219,7 +219,6 @@ def get_filesystem_type(partdev):
def _reduce_resize2fs(partdev):
ret = -1
cmd = shlex.split(f'resize2fs -fpM {partdev}')
with open('/tmp/command.log', 'ab', 0) as logfile:
proc = subprocess.run(cmd, stdout=logfile, stderr=STDOUT)