Closed bulava92 closed 2 years ago
The command doesn't print anything, it exits with a special code. To get this code, you can usually run the following command after having run your ping command:
echo "$?"
Here, echo
means that you want to print whatever comes after it and "$?"
is a special variable that holds the exit code of the program run before it.
This doesn't seem to be a bug, so I'm closing this issue. Feel free to open a discussion if your issue is not solved. Also, feel free to reopen this issue if you believe it's still a bug with the package itself.
Backstory
No response
Issue
Hi
I have the latest version of the plugin, as well as homebridge, etc. everything used to work, but for some reason it stopped. The photo shows two ping commands - the upper one when the computer is unlocked, the lower one when the computer is locked. Why doesn't ping print 0, what to check?
Environment
Configuration
Logs