mirror of
https://github.com/martijnvanbrummelen/nwipe.git
synced 2026-02-20 13:42:14 +00:00
Merge pull request #391 from PartialVolume/Fix_use_of_modprobe_on_Debian_11_part2
Would help if I explicitly stated the paths ;-)
This commit is contained in:
@@ -65,8 +65,8 @@ int main( int argc, char** argv )
|
||||
pthread_t nwipe_sigint_thread; // The thread ID of the sigint handler.
|
||||
|
||||
char modprobe_command[] = "modprobe %s";
|
||||
char modprobe_command2[] = "modprobe %s";
|
||||
char modprobe_command3[] = "modprobe %s";
|
||||
char modprobe_command2[] = "/sbin/modprobe %s";
|
||||
char modprobe_command3[] = "/usr/sbin/modprobe %s";
|
||||
char module_shortform[50];
|
||||
char final_cmd_modprobe[sizeof( modprobe_command ) + sizeof( module_shortform )];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user