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!
Procházet zdrojové kódy

Minor adjustment

tags/0.92
Stanislaw Adaszewski před 4 roky
rodič
revize
a2b0852f49
1 změnil soubory, kde provedl 4 přidání a 1 odebrání
  1. +4
    -1
      jail.py

+ 4
- 1
jail.py Zobrazit soubor

@@ -22,7 +22,10 @@ def jail_run(path, command):
try:
res = subprocess.run(command)
finally:
subprocess.run(['jail', '-r', get_jid(path)])
try:
subprocess.run(['jail', '-r', get_jid(path)])
except ValueError:
pass
subprocess.run(['umount', '-f', os.path.join(path, 'dev')])
if res.returncode != 0:
# subprocess.run(['umount', os.path.join(path, 'dev')])


Načítá se…
Zrušit
Uložit