mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
hdd_menu: use proper tune2fs call
call the my_system with the proper number of parameters instead of relying on specifics of the getopt() used by tune2fs, now that there is no limitation on the number of my_system arguments anymore Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
This commit is contained in:
committed by
Jacek Jendrzej
parent
988a8ebec2
commit
5dbf45896f
@@ -468,7 +468,7 @@ int CHDDFmtExec::exec(CMenuTarget* /*parent*/, const std::string& key)
|
||||
sleep(2);
|
||||
|
||||
printf("CHDDFmtExec: executing %s %s\n","/sbin/tune2fs -r 0 -c 0 -i 0", src);
|
||||
my_system(5, "/sbin/tune2fs", "-r 0", "-c 0", "-i 0", src);
|
||||
my_system(8, "/sbin/tune2fs", "-r", "0", "-c", "0", "-i", "0", src);
|
||||
|
||||
_remount:
|
||||
progress->hide();
|
||||
|
Reference in New Issue
Block a user