Commit 23a4c5be authored by Nicolas Delaby's avatar Nicolas Delaby

Check return code of command execution

parent 4d6f43f4
......@@ -47,7 +47,8 @@ if save_mysql:
command = 'mysqldump %s > %s' % (getMySQLArguments(), dump_sql_path,)
if verbosity:
_print('Dumping MySQL database with %s...' % command)
os.system(command)
ret = os.system(command)
assert not ret
_print("Cleaning static files ... ")
for static_dir in static_dir_list:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment