IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
Stanislaw Adaszewski 4 лет назад
Родитель
Сommit
177922e29c
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      jail.py

+ 1
- 1
jail.py Просмотреть файл

@@ -10,7 +10,7 @@ def jail_run(path, command):
try:
res = subprocess.run(command)
finally:
subprocess.run(['umount', os.path.join(path, 'dev')])
subprocess.run(['umount', '-f', os.path.join(path, 'dev')])
if res.returncode != 0:
# subprocess.run(['umount', os.path.join(path, 'dev')])
raise RuntimeError('Command failed')


Загрузка…
Отмена
Сохранить