=== modified file 'sbin/vserver-listconfigs' --- sbin/vserver-listconfigs 2014-06-26 18:34:54 +0000 +++ sbin/vserver-listconfigs 2014-06-24 21:39:56 +0000 @@ -8,10 +8,10 @@ exit 1 } -vserver_name=${2:-${${PWD#/etc/vservers/}:h}} +vserver_name=${1:-${${PWD#/etc/vservers/}:h}} [[ -e /etc/vservers/$vserver_name ]] || \ - die "$0:t could not determine vserver name" + die "could not determine vserver name" vdir=/etc/vservers/$vserver_name/vdir vdir=$vdir:A