Page 2 of 2

Re: Sk-DirectAdmin-Importer | Script to Restore DirectAdmin User Account In VestaCP

Posted: Tue Jan 15, 2019 12:42 pm
by skamasle
DBBJAF wrote:
Wed Nov 28, 2018 9:33 pm
hi
i got this error :

Start Whit Databases
Get local databases
sk_da_importer.sh: line 120: -5: substring expression < 0

just user created with no file or database
hope this script will be update ASAP.
HI sorry for delay, this is not a script issue, can be fixed but, this happen if you use too old bash version, all I think this can happen if you use dash

Old bash version cant interprete ${variable:: -5} not remember now exactly what version you need,