Commit 4fbe379
Fix SSH key count: use grep -c instead of wc -l to ignore blank lines
The verify command used wc -l to count authorized SSH keys, which counts
blank lines too. Changed to grep -c '^ssh-' so only actual key lines are
counted. Also use printf in assign to avoid trailing blank lines.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 2fcac4c commit 4fbe379
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | | - | |
| 280 | + | |
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
| |||
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
355 | | - | |
| 355 | + | |
356 | 356 | | |
357 | 357 | | |
358 | 358 | | |
| |||
0 commit comments