got to handle the other condition...

This commit is contained in:
2025-07-02 18:25:31 -05:00
parent 0f52d19229
commit 0175a00458

View File

@ -24,7 +24,7 @@ export SUBODEV_SSH_DIR
SUBODEV_SSH_DIR="/home/subodev/.ssh" SUBODEV_SSH_DIR="/home/subodev/.ssh"
export NOT_UBUNTU_CHECK export NOT_UBUNTU_CHECK
NOT_UBUNTU_CHECK="$(distro | grep -c -v Ubuntu)" NOT_UBUNTU_CHECK="$(distro | grep -c -v Ubuntu || true)"
if [ ! -d $ROOT_SSH_DIR ]; then if [ ! -d $ROOT_SSH_DIR ]; then
mkdir /root/.ssh/ mkdir /root/.ssh/