Committed by
Gerrit Code Review
Fix cell command for when -u is set in bash
Change-Id: Id51da2f92ff8b708fddfcffd0683736b9a74f6d3
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -109,7 +109,7 @@ export CELL_WARDEN="10.254.1.19" | ... | @@ -109,7 +109,7 @@ export CELL_WARDEN="10.254.1.19" |
| 109 | # Applies the settings in the specified cell file or lists current cell definition | 109 | # Applies the settings in the specified cell file or lists current cell definition |
| 110 | # if no cell file is given. | 110 | # if no cell file is given. |
| 111 | function cell { | 111 | function cell { |
| 112 | - cell=$1 | 112 | + cell=${1:-""} |
| 113 | case "$cell" in | 113 | case "$cell" in |
| 114 | "borrow") | 114 | "borrow") |
| 115 | aux="/tmp/cell-$$" | 115 | aux="/tmp/cell-$$" | ... | ... |
-
Please register or login to post a comment