src/default.scm: add missing logic in system-hostname-check #2
Reference in New Issue
Block a user
Delete Branch ":molese-patch"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Signed-off-by: molese molese@protonmail.com
@kreyren: It requires a separate file that has the necessary technique for determining if an environment variable is present or not before proceeding directly to the main procedure.
Do whatever you think is the optimal solution i rewrite it after you if needed
@@ -9,2 +9,3 @@;; function to print error if environment variable 'HOSTNAME' is not set or if it's value is empty;; function to throw error if environment variable 'HOSTNAME' is not set; or if it's value is emptydon't split things across multiple lines
@@ -11,3 +12,3 @@;; FIXME-QA(Molese): Needs test(define system-hostname-check (lambda ()(if (not (system-hostname-set?))(if (eq nil (getenv "HOSTNAME"))(if (empty? (getenv "HOSTNAME"... ?