summaryrefslogtreecommitdiff
path: root/bin/custodian-dequeue
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2015-03-09 12:36:53 +0000
committerSteve Kemp <steve@steve.org.uk>2015-03-09 12:36:53 +0000
commit90070510d4b3913e3f18e05e57c9b5a3170adde5 (patch)
tree5b1483ae7c585bcd9019339b82dc1b442e46e84a /bin/custodian-dequeue
parenta4992f4396d593c0a496c6da9c08d937d1445857 (diff)
Use long-names
Instead of "$0" use $PROGRAM_NAME, instead of $! use "$LOAD_PATH". This is more explicit and less-magic. Flagged by rubocop
Diffstat (limited to 'bin/custodian-dequeue')
-rwxr-xr-xbin/custodian-dequeue2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/custodian-dequeue b/bin/custodian-dequeue
index 46a62da..349ff31 100755
--- a/bin/custodian-dequeue
+++ b/bin/custodian-dequeue
@@ -57,7 +57,7 @@ require 'custodian/worker'
#
# Entry-point to our code.
#
-if __FILE__ == $0 then
+if __FILE__ == $PROGRAM_NAME then
$help = false
$manual = false