commandline: bugfixes for -1 error after erase on OS X - auto recover now works