From 0e158a3b400c324e35e0617d04508f375a86c633 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Mon, 9 Mar 2015 12:36:53 +0000 Subject: Use long-names Instead of "$0" use $PROGRAM_NAME, instead of $! use "$LOAD_PATH". This is more explicit and less-magic. Flagged by rubocop --- bin/custodian-queue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/custodian-queue') diff --git a/bin/custodian-queue b/bin/custodian-queue index 978cbda..ed2c3be 100755 --- a/bin/custodian-queue +++ b/bin/custodian-queue @@ -52,7 +52,7 @@ require 'custodian/queue' # # Entry-point to our code. # -if __FILE__ == $0 then +if __FILE__ == $PROGRAM_NAME then $FLUSH = false $STATS = false -- cgit v1.2.1