fix unhandled exception when using init script with sudo
fix unhandled exception when using init script with sudo

zengzhaozheng/adagios,kaji-project/adagios,kb2ma/adagios,kaji-project/adagios,zengzhaozheng/adagios,kb2ma/adagios,kb2ma/adagios,opinkerfi/adagios,kb2ma/adagios,kaji-project/adagios,opinkerfi/adagios,opinkerfi/adagios,zengzhaozheng/adagios,kaji-project/adagios,opinkerfi/adagios,zengzhaozheng/adagios