From 5eb43855c76c2acec1a11d2d0c5192c04a087289 Mon Sep 17 00:00:00 2001 From: PartialVolume Date: Thu, 2 Dec 2021 22:47:48 +0000 Subject: [PATCH] Would help if I explicitly stated the paths :'-) --- src/nwipe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nwipe.c b/src/nwipe.c index b8f2993..12392a2 100644 --- a/src/nwipe.c +++ b/src/nwipe.c @@ -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 )];