More debugging
This commit is contained in:
parent
a87b30d2f6
commit
311aa08958
|
|
@ -136,7 +136,7 @@ class sys_command():
|
|||
|
||||
def exec(self):
|
||||
if not self.cmd[0][0] == '/':
|
||||
print('[N] Command is not executed with absolute path, trying to find it..')
|
||||
print('[N] Command is not executed with absolute path, trying to find: {}'.format(self.cmd[0]))
|
||||
o = b''.join(sys_command('/usr/bin/whereis {}'.format(self.cmd[0])).exec())
|
||||
self.cmd[0] = o.split(b' ')[1].decode('UTF-8')
|
||||
print('[N] This is what I\'m going with: {}'.format(self.cmd[0]))
|
||||
|
|
|
|||
Loading…
Reference in New Issue