mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Fix "output" var not existing ...
This commit is contained in:
parent
cc597404b7
commit
773bf803b8
1 changed files with 2 additions and 2 deletions
|
@ -47,9 +47,9 @@ def main():
|
|||
else:
|
||||
anonymize_output_flag = True
|
||||
|
||||
command_output = sys.stdin.read()
|
||||
output = sys.stdin.read()
|
||||
|
||||
if not command_output:
|
||||
if not output:
|
||||
print("\033[31mError: No input received from stdin.\033[0m")
|
||||
sys.exit(1)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue