mirror of
https://github.com/KevinMidboe/transatlanticTorrentExpress.git
synced 2025-10-29 09:50:21 +00:00
du command incorrect, host instead of path
This commit is contained in:
@@ -48,7 +48,7 @@ class File():
|
||||
cmd = "du -hs '{}'".format(filePath)
|
||||
|
||||
if self.system.remote:
|
||||
cmd = 'ssh {}@{} {}'.format(self.system.user, self.system.path, cmd)
|
||||
cmd = 'ssh {}@{} {}'.format(self.system.user, self.system.host, cmd)
|
||||
|
||||
diskusageOutput = check_output(cmd, shell=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user