[DEV] Stop if trying to use extended probes without quicklisp, this should be done in a better way one day - reed-alert - Lightweight agentless alerting system for server
HTML git clone git://bitreich.org/reed-alert/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/reed-alert/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
DIR LICENSE
---
DIR commit 6a0f459f93cd6c2725f8c1df5699ac4cb7e1d1e3
DIR parent 6e496d0ce582d7db769a93aa5f582321dc089894
HTML Author: solene rapenne <solene@dataswamp.org>
Date: Fri, 14 Oct 2016 14:45:02 +0200
[DEV] Stop if trying to use extended probes without quicklisp, this should be done in a better way one day
Diffstat:
M functions.lisp | 1 -
M probes-extended.lisp | 4 ++++
2 files changed, 4 insertions(+), 1 deletion(-)
---
DIR diff --git a/functions.lisp b/functions.lisp
@@ -1,6 +1,5 @@
(require 'asdf)
-
(defun color(num1 num2)
(format nil "~a[~a;~am" #\Escape num1 num2))
DIR diff --git a/probes-extended.lisp b/probes-extended.lisp
@@ -1,3 +1,7 @@
+(unless (member :quicklisp cl:*features*)
+ (format t "quicklisp isn't loaded, you can't use extended probes without quicklisp~%")
+ (quit))
+
(ql:quickload :drakma)
(ql:quickload :cl-ppcre)