From 51b29ecaced0934142a704e6a96621b70178e0f4 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Sun, 5 Nov 2017 16:31:38 -0500 Subject: [PATCH] using variable instead of full path --- scripts/archival/snarf_linux_config.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/archival/snarf_linux_config.pl b/scripts/archival/snarf_linux_config.pl index 1c7ad042..c6820ace 100644 --- a/scripts/archival/snarf_linux_config.pl +++ b/scripts/archival/snarf_linux_config.pl @@ -22,7 +22,7 @@ use Env qw(HOME); # make sure we are running as root. otherwise we have no access to look at many things in /etc. if ($< != 0) { printf "This script must be run as root or sudo. Try this:\n"; - printf " sudo -E PERLLIB=\$PERLLIB perl $0 @ARGV\n"; + printf " sudo -E PERLLIB=\$PERLLIB perl \$FEISTY_MEOW_SCRIPTS/archival/snarf_linux_config.pl @ARGV\n"; exit 1; } -- 2.34.1