From 3581fd3bb5669a6774cd6b11d3d12bea33234e83 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Wed, 19 Sep 2018 15:51:38 -0600 Subject: [PATCH] Added error code 1 --- backup.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backup.sh b/backup.sh index b2db658..63cfd16 100755 --- a/backup.sh +++ b/backup.sh @@ -55,6 +55,10 @@ unset PARAMS errorExplain=() +### Error codes +errorExplain[1]="Missing or invalid parameters on script invocation." + + ### Process script parameters # if no parameters provided, then show the help page and exit with error