Bugfix: Replaced wrong variable definition

I've replaced the wrong variable definition (from # to $). # is a comment in bash.
Merge pull request #2 from mschnitzer/shutdown-nodes

Bugfix: Replaced wrong variable definition