Switch to using env perl instead of a direct perl call.
authorGreg Sabino Mullane <[email protected]>
Thu, 20 May 2010 13:11:09 +0000 (09:11 -0400)
committerGreg Sabino Mullane <[email protected]>
Thu, 20 May 2010 13:11:09 +0000 (09:11 -0400)
Move the emacs stuff to another line

check_postgres.pl

index 089ff12abaef739b82af3fa018932eb1857498a8..8bb4aced24f0f89df1a25f0ba751e8bd661cd5d2 100755 (executable)
@@ -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.