Skip to content

Commit e983632

Browse files
committed
fix if exist path command checking for "path command" instead of path
1 parent d369b47 commit e983632

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmd/if.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ int cmd_if(char *param)
7979
}
8080

8181
pp = skip_word(param);
82+
*pp = '\0';
83+
pp++;
8284

8385
/* don't show abort/retry/fail if no disk in drive */
8486
get_isr(0x24, olderrhandler);

0 commit comments

Comments
 (0)