linting
This commit is contained in:
@@ -351,7 +351,7 @@ def main():
|
||||
str(jobs),
|
||||
]
|
||||
|
||||
result = subprocess.run(cmd, env=env)
|
||||
result = subprocess.run(cmd, env=env, check=False)
|
||||
if result.returncode != 0:
|
||||
printfe("red", "Failed to upgrade Home Manager packages.")
|
||||
return 1
|
||||
@@ -419,9 +419,9 @@ def main():
|
||||
|
||||
# Execute the Ansible command, passing password via stdin if available
|
||||
if sudo_password:
|
||||
result = subprocess.run(ansible_cmd, input=sudo_password.encode("utf-8"))
|
||||
result = subprocess.run(ansible_cmd, input=sudo_password.encode("utf-8"), check=False)
|
||||
else:
|
||||
result = subprocess.run(ansible_cmd)
|
||||
result = subprocess.run(ansible_cmd, check=False)
|
||||
|
||||
if result.returncode != 0:
|
||||
printfe("red", "Failed to upgrade Ansible packages.")
|
||||
|
||||
Reference in New Issue
Block a user