annotate umasked.sh @ 837:6678b1f27514

Improved readability of "Upgrading Executable on the Fly". The old text about what to do if the new executable fails to work properly caused confusion.
author Ruslan Ermilov <ru@nginx.com>
date Mon, 11 Feb 2013 11:44:48 +0400
parents 356bcdeb008f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
146
356bcdeb008f * Fixed incorrect file permissions on file creation with an external shell wrapper.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
1 #!/bin/sh
356bcdeb008f * Fixed incorrect file permissions on file creation with an external shell wrapper.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
2
356bcdeb008f * Fixed incorrect file permissions on file creation with an external shell wrapper.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
3 umask 002
356bcdeb008f * Fixed incorrect file permissions on file creation with an external shell wrapper.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
4
356bcdeb008f * Fixed incorrect file permissions on file creation with an external shell wrapper.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
5 exec /bin/sh "$@"