-
Improvement
-
Resolution: Unresolved
-
Normal
-
None
-
None
Yo,
Is possible to EGO command print the correct exit code after use the ${?} variable? Argument "goot update" does not exist. The output of the ${?} variable could be 1 or higher, like EMERGE command. Take a look:
# ego goot update ; echo $? 0
# emerge -v! ; echo $? 1
Take a look on printscreen, using ego + pssh vs emerge + pssh, to run commands remotes:
# cat remote-commands.sh #!/bin/bash for ARG in "$*"; do pssh -t 100000000 -i -h /root/pssh-hosts-files "${ARG}" done
# cat /root/pssh-hosts-files root@158.69.104.184 root@158.69.104.185 root@158.69.104.186 root@158.69.104.187 root@158.69.104.188 root@158.69.104.189 root@158.69.104.190 root@158.69.104.191
Thanks!