You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ctl_main: allow batch commands from stdin as well
Some users may want to provide mstpctl commands by piping into mstpctl.
This allows users to do that.
The requirement is that commands be separated via newlines.
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
main.c: free file pointer when exiting
In most cases, that file-pointer and descriptor will be released since the
app terminates.
However, it's good practice to free it before doing that.
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>