From ae9a1eeed63e368612d130cb1087e5b074cde7bb Mon Sep 17 00:00:00 2001 From: Elijah Perrault Date: Thu, 3 Feb 2011 18:16:56 -0700 Subject: [PATCH] Unless is bad. --- bin/auto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/auto b/bin/auto index c225ab4..5d8f9e2 100755 --- a/bin/auto +++ b/bin/auto @@ -208,7 +208,7 @@ println "* Auto successfully started at ".POSIX::strftime("%Y-%m-%d %I:%M:%S %p" alog "Auto successfully started."; # Fork into the background if not in debug mode. -unless ($DEBUG) { +if (!$DEBUG) { println "*** Becoming a daemon..."; open(STDIN, q{<}, '/dev/null') or err(2, "Can't read /dev/null: $!", 1); open(STDOUT, q{>>}, '/dev/null') or err(2, "Can't write to /dev/null: $!", 1);