chore(scripts): exit if error occurs in any command
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
name=$([[ $1 ]] && echo $1 || echo "postgres")
|
||||
|
||||
read -p "Port to use for postgres (default = 5432) " port
|
||||
|
||||
Reference in New Issue
Block a user