mirror of https://git.48k.eu/ogclient
utils: fs: remove unused variable in _reduce_resize2fs
ret is set but never used in this methodmaster v1.3.2-7
parent
85bbdcfcb8
commit
481ce5794f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue