mirror of
				https://github.com/KevinMidboe/transatlanticTorrentExpress.git
				synced 2025-10-29 18:00:19 +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)
 | 
					    cmd = "du -hs '{}'".format(filePath)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if self.system.remote:
 | 
					    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)
 | 
					    diskusageOutput = check_output(cmd, shell=True)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user