diff --git a/userspace/marsadm b/userspace/marsadm index 44986cc9..c132348e 100755 --- a/userspace/marsadm +++ b/userspace/marsadm @@ -42,7 +42,7 @@ my @MARS_PATH = $ENV{MARS_PATH} ? split(/:/, $ENV{MARS_PATH}) : ( ".", - "$ENV{HOME}/.marsadm", + defined($ENV{HOME}) ? "$ENV{HOME}/.marsadm" : "", "/etc/marsadm", "/usr/lib/marsadm", "/usr/local/lib/marsadm",