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
Sounds like your command is being interpreted twice: the local shell sees the variable and replaces it with blank, hiding it from the remote shell where $SHARED is actually set.
Maybe try cat \$SHARED/pids/master.pid or cat '$SHARED/pids/master.pid' or various combinations of escaping to get the variable to arrive where it can be used.
Hey, I'm trying to use a little hook magic for my node server, something like this:
and well, it fails because $SHARED is blank, so I tried this to confirm:
which listed
SHARED=/home/deploy/app/shared
as expected, but trying this:fails with
cat: /pids/master.pid: No such file or directory
, in other words SHARED is blank...am I using it wrong?
It's on ubuntu 10.4 (installed using the node knockout linode stack script )
The text was updated successfully, but these errors were encountered: