Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Dashboy1998 committed Jan 31, 2024
1 parent ea2e546 commit 9f6b530
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions scripts/start.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/bin/bash

# shellcheck disable=SC2317
dirExists(){
local path=$1
local path="$1"
local return_val=0
if ! [ -d "${path}" ]; then
echo "${path} does not exist."
Expand All @@ -10,8 +11,9 @@ dirExists(){
return "$return_val"
}

# shellcheck disable=SC2317
fileExists(){
local path=$1
local path="$1"
local return_val=0
if ! [ -f "${path}" ]; then
echo "${path} does not exist."
Expand All @@ -20,8 +22,9 @@ fileExists(){
return "$return_val"
}

# shellcheck disable=SC2317
isReadable(){
local path=$1
local path="$1"
local return_val=0
if ! [ -e "${path}" ]; then
echo "${path} is not readable."
Expand All @@ -30,8 +33,9 @@ isReadable(){
return "$return_val"
}

# shellcheck disable=SC2317
isWritable(){
local path=$1
local path="$1"
local return_val=0
if ! [ -w "${path}" ]; then
echo "${path} is not writable."
Expand All @@ -40,8 +44,9 @@ isWritable(){
return "$return_val"
}

# shellcheck disable=SC2317
isExecutable(){
local path=$1
local path="$1"
local return_val=0
if ! [ -x "${path}" ]; then
echo "${path} is not executable."
Expand Down

0 comments on commit 9f6b530

Please sign in to comment.