mirror of
https://github.com/django/django.git
synced 2025-08-06 11:58:26 +00:00
Fixed #26751 -- Made dbshell exit with the shell's error code.
This commit is contained in:
parent
d47f6d75ef
commit
03f6d272ab
4 changed files with 4 additions and 4 deletions
|
@ -55,7 +55,7 @@ class DatabaseClient(BaseDatabaseClient):
|
|||
# If the current locale can't encode the data, we let
|
||||
# the user input the password manually.
|
||||
pass
|
||||
subprocess.call(args)
|
||||
subprocess.check_call(args)
|
||||
finally:
|
||||
if temp_pgpass:
|
||||
temp_pgpass.close()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue