Here-doucment, not a tty
Hi guys,
I'm trying to do a simple script on a Solaris server. It works on other servers, but I have an issue on this one... Here's the script: Code:
#!/usr/bin/bash Code:
1 logoff user=USERNAME I must use here-documents, because this command (SEC_tool) doesn't take any parameters... Usually it works well, but here I have this "Not a tty" message. I googled a lot, but didn't find how to solve this. Thanks! |
I have no idea, but does it make a difference if your first line is:
#!/usr/bin/env bash instead? |
All times are GMT -5. The time now is 10:43 AM. |