diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2006-08-30 19:13:19 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2006-08-30 19:13:19 +0000 |
commit | da39c95afb07559e58b1881bff6e6d1d232984e6 (patch) | |
tree | d3b5c3b30078181cf40a7a1be21be38df25e0313 /packages/initscripts/initscripts-1.0 | |
parent | 71bd0cd9cf4addbc38028705674fb56c2a644071 (diff) |
initscripts: populate-volatile.sh: Add explicit command separators.
* There was issue seen when populate-volatile.sh executed something like
"mkdir chown" when configuration was not full right. This fixed it.
Closes #1355.
Diffstat (limited to 'packages/initscripts/initscripts-1.0')
-rwxr-xr-x | packages/initscripts/initscripts-1.0/populate-volatile.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/initscripts/initscripts-1.0/populate-volatile.sh b/packages/initscripts/initscripts-1.0/populate-volatile.sh index f22bf2fdfe..2c2132209f 100755 --- a/packages/initscripts/initscripts-1.0/populate-volatile.sh +++ b/packages/initscripts/initscripts-1.0/populate-volatile.sh @@ -10,7 +10,7 @@ COREDEF="00_core" create_file() { EXEC=" - touch \"$1\" + touch \"$1\"; chown ${TUSER}.${TGROUP} $1 || echo \"Failed to set owner -${TUSER}- for -$1-.\" >/dev/tty0 2>&1 chmod ${TMODE} $1 || echo \"Failed to set mode -${TMODE}- for -$1-.\" >/dev/tty0 2>&1 " @@ -21,7 +21,7 @@ create_file() { mk_dir() { EXEC=" - mkdir -p \"$1\" + mkdir -p \"$1\"; chown ${TUSER}.${TGROUP} $1 || echo \"Failed to set owner -${TUSER}- for -$1-.\" >/dev/tty0 2>&1 chmod ${TMODE} $1 || echo \"Failed to set mode -${TMODE}- for -$1-.\" >/dev/tty0 2>&1 " |