summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Sabino Mullane2010-05-20 13:11:09 +0000
committerGreg Sabino Mullane2010-05-20 13:11:09 +0000
commit52f77c0eb34ed763ccef3ec6e535ad54561b7dd1 (patch)
tree32bb563cb4425c060196bf43fe25f822f68f6ba1
parent4bd4cc2f956667af08b4817f7f4f4ee64393e703 (diff)
Switch to using env perl instead of a direct perl call.
Move the emacs stuff to another line
-rwxr-xr-xcheck_postgres.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/check_postgres.pl b/check_postgres.pl
index 089ff12ab..8bb4aced2 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -1,4 +1,5 @@
-#!/usr/bin/perl -- -*-mode:cperl; indent-tabs-mode: nil-*-
+#!/usr/bin/env perl
+# -*-mode:cperl; indent-tabs-mode: nil-*-
## Perform many different checks against Postgres databases.
## Designed primarily as a Nagios script.