Skip to content
Browse files

Screen Check

Screen is required. Added check.
  • Loading branch information...
1 parent 6840fc1 commit c2fe5b7665c2133680889bcfff7f081e62114fbb @user77 committed Apr 6, 2012
Showing with 9 additions and 0 deletions.
  1. +9 −0 include/scripts/functions.sh
View
9 include/scripts/functions.sh
@@ -30,6 +30,15 @@ javaCheck () {
fi
}
+screenCheck () {
+ screen=`which screen`
+ if [[ -z $screen ]]; then
+ echo "Screen Not Found."
+ echo "Please see http://www.gnu.org/software/screen/"
+ exit 0
+ fi
+}
+
#Create directory for logs to go in.
createLogsdir () {
if [[ ! -d "$logs" ]]; then

0 comments on commit c2fe5b7

Please sign in to comment.
Something went wrong with that request. Please try again.