forked from KolibriOS/kolibrios
Shell: some small fixes
git-svn-id: svn://kolibrios.org@2615 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -25,16 +25,28 @@ if ( '/' == file[0])
|
||||
|
||||
if ( !file_check(temp) )
|
||||
{
|
||||
#if LANG_ENG
|
||||
printf (" File not found!\n\r");
|
||||
#elif LANG_RUS
|
||||
printf (" ” ©« ¥ ©¤¥!\n\r");
|
||||
#endif
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
strcpy(temp, cur_dir);
|
||||
if (temp[strlen(temp)-1] != '/')
|
||||
strcat(temp, "/"); // add slash
|
||||
strcat(temp, file);
|
||||
|
||||
if ( !file_check(temp) )
|
||||
{
|
||||
#if LANG_ENG
|
||||
printf (" File not found!\n\r");
|
||||
#elif LANG_RUS
|
||||
printf (" ” ©« ¥ ©¤¥!\n\r");
|
||||
#endif
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user