@@ -33,7 +33,7 @@ do_one() cd $container [ "$container_name" == 'ssh-r' ] && exit docker images | grep -wq "$container_name"
if [ "$?" == 0 ] && [ "$action" != "reboot" ]; then
if [ "$?" != 0 ] || [ "$action" != "reboot" ]; then
better use -ne -lt -gt -lt -le for num compare
got it
Thanks, Yinsi
Thanks, Luan Shengde
[ -x build ] && ./build [ -x install ] && ./install fi
-- 2.23.0