mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-26 01:46:32 -05:00
Make smartctl to ignore locale
This commit is contained in:
parent
3696bccf68
commit
ef3572ea73
2 changed files with 6 additions and 0 deletions
|
|
@ -177,6 +177,9 @@ void os_init(int opt)
|
|||
}
|
||||
|
||||
exedir_init();
|
||||
|
||||
/* set LC_ALL=C to make smartctl ignoring the locale when printing info */
|
||||
_wputenv_s(L"LC_ALL", L"C");
|
||||
}
|
||||
|
||||
void os_done(void)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue