File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 6
6
helps troubleshooting obscure errors, e.g. when user runs out of
7
7
disk space.
8
8
9
+ ### Bug Fixes
10
+
11
+ * ` rsc start --debug ` could give an `operand expected (error token is
12
+ "<pid >")` error on some systems.
13
+
9
14
### Deprecated and defunct
10
15
11
16
* ` --port=random ` and ` --port=uid ` are defunct.
Original file line number Diff line number Diff line change @@ -123,5 +123,5 @@ function relay_condition {
123
123
124
124
125
125
function prune_debug {
126
- printf " %s\n" " $@ " | sed ' /DEBUG:/d' | sed -E ' s/\x1b(\[[0-9;]*m|\(B)//g'
126
+ printf " %s\n" " $@ " | sed ' /DEBUG:/d' | sed ' s/\x1b\[[0-9;]*m\x0f//g ' | sed -E ' s/\x1b(\[[0-9;]*m|\(B)//g'
127
127
}
Original file line number Diff line number Diff line change @@ -690,7 +690,6 @@ function rs_process_status {
690
690
mapfile -t res < <( prune_debug " ${res[@]} " )
691
691
mdebug " - prune_debug(): '$( printf " %q" " ${res[*]} " ) '"
692
692
if [[ -n " ${res[0]} " ]]; then
693
- mdebug " - pid='$( printf " %q" " ${res[0]} " ) '"
694
693
pid=" ${res[0]} "
695
694
else
696
695
pid=0
You can’t perform that action at this time.
0 commit comments