diff options
-rw-r--r-- | shell/hush.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/hush.c b/shell/hush.c index 9676819fa..14681aa48 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
@@ -999,7 +999,7 @@ struct globals { | |||
999 | int x_mode_fd; | 999 | int x_mode_fd; |
1000 | o_string x_mode_buf; | 1000 | o_string x_mode_buf; |
1001 | #endif | 1001 | #endif |
1002 | #if HUSH_DEBUG | 1002 | #if HUSH_DEBUG >= 2 |
1003 | int debug_indent; | 1003 | int debug_indent; |
1004 | #endif | 1004 | #endif |
1005 | struct sigaction sa; | 1005 | struct sigaction sa; |
@@ -1221,7 +1221,7 @@ static const struct built_in_command bltins2[] = { | |||
1221 | 1221 | ||
1222 | /* Debug printouts. | 1222 | /* Debug printouts. |
1223 | */ | 1223 | */ |
1224 | #if HUSH_DEBUG | 1224 | #if HUSH_DEBUG >= 2 |
1225 | /* prevent disasters with G.debug_indent < 0 */ | 1225 | /* prevent disasters with G.debug_indent < 0 */ |
1226 | # define indent() fdprintf(2, "%*s", (G.debug_indent * 2) & 0xff, "") | 1226 | # define indent() fdprintf(2, "%*s", (G.debug_indent * 2) & 0xff, "") |
1227 | # define debug_enter() (G.debug_indent++) | 1227 | # define debug_enter() (G.debug_indent++) |