diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-04-19 11:32:53 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-04-19 11:32:53 +0200 |
commit | 481ce5794f6ce7822f2a3c01ee9e21263ba1fbb9 (patch) | |
tree | 7173f9dca24ab4eb987da04a0a7fbc38dcced4cc | |
parent | 85bbdcfcb8c430989a01a94cb4fa3989fbfca8eb (diff) |
utils: fs: remove unused variable in _reduce_resize2fsv1.3.2-7
ret is set but never used in this method
-rw-r--r-- | src/utils/fs.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/utils/fs.py b/src/utils/fs.py index eae7065..55c24cf 100644 --- a/src/utils/fs.py +++ b/src/utils/fs.py @@ -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) |