mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Update system.py: forgot to add the corresponding stdin arg in some previous commit x_x
This commit is contained in:
parent
401ccf69c7
commit
ab8e0e6619
1 changed files with 1 additions and 1 deletions
|
@ -299,7 +299,7 @@ def aptitude_with_progress_bar(cmd):
|
|||
read, write = os.pipe()
|
||||
os.write(write, b"y\ny\ny")
|
||||
os.close(write)
|
||||
ret = call_async_output(cmd, callbacks, shell=True)
|
||||
ret = call_async_output(cmd, callbacks, shell=True, stdin=read)
|
||||
|
||||
if log_apt_status_to_progress_bar.previous_package is not None and ret == 0:
|
||||
log_apt_status_to_progress_bar("done::100:Done")
|
||||
|
|
Loading…
Add table
Reference in a new issue