Skip to content

Conversation

@n2studio
Copy link
Contributor

The quote marks will cause the "for BADSHELL in '...' " statement to put the entire contents within the quotes into BADSHELL instead of each of the space delimited strings as intended, so nothing will ever match in the following grep statement. This has some bad repercussions later; for example, /dev/null perms will get changed to 755 in gen002220.sh (default is 666) which will break scp and sftp (took me a few hours to figure that out), among other things.

The quote marks will cause the "for BADSHELL in '...' " statement to put the entire contents within the quotes into BADSHELL instead of each of the space delimited strings as intended, so nothing will ever match in the following grep statement. This has some bad repercussions later; for example, /dev/null perms will get changed to 755 in gen002220.sh (default is 666) which will break scp and sftp (took me a few hours to figure that out), among other things.
fcaviggia added a commit that referenced this pull request Jul 24, 2014
@fcaviggia fcaviggia merged commit 57abaf0 into fcaviggia:master Jul 24, 2014
@n2studio n2studio deleted the patch-2 branch July 24, 2014 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants