Skip to content

Commit

Permalink
use full path to modprobe
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobgorm committed Oct 3, 2018
1 parent c7e2db8 commit b61646d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nbd.c
Expand Up @@ -238,7 +238,7 @@ int main(int argc, char **argv)
}
char *script = argv[2];

shell("modprobe", "nbd", NULL);
shell("/sbin/modprobe", "nbd", NULL);

r = mlockall(MCL_CURRENT | MCL_FUTURE);
if (r < 0) {
Expand Down

0 comments on commit b61646d

Please sign in to comment.