Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
bpm-sw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
bpm
bpm-sw
Commits
e504d6b3
Commit
e504d6b3
authored
Feb 11, 2016
by
Lucas Russo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scripts/disable-service.sh: check for unset variable SERVICE
parent
344128b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
disable-service.sh
scripts/disable-service.sh
+6
-0
No files found.
scripts/disable-service.sh
View file @
e504d6b3
...
...
@@ -25,6 +25,12 @@ while getopts ":s:" opt; do
esac
done
if
[
-z
"
$SERVICE
"
]
;
then
echo
"
\"
SERVICE
\"
variable unset."
usage
exit
1
fi
INIT_SYSTEM
=
$(
./get-init-system.sh
)
# Enable service depending on which init system we are
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment