4 ms·
Great advice. Using /bin/false also works, as I found on the Arch Wiki. Do you know what the difference is? modprobe dccp #with /bin/false fails with mo
by rcdmd 10y ago
Great advice. Using /bin/false also works, as I found on the Arch Wiki. Do you know what the difference is?
modprobe dccp #with /bin/false fails with
modprobe: ERROR: Error running install command for dccp
modprobe: ERROR: could not insert 'dccp': Operation not permitted
- throwaway2048 10y ago/bin/true sets the return code to 0, signifying success to the modprobe process, /bin/false sets it to 1, signifying failue, and producing said message. Due to the way modprobe may be hooked by various things, its best to use /bin/true to ensure less breakage.
- jlgaddis 10y agoLike throwaway2048 mentioned, the only difference is the return code. I think the original documentation described them something like this: /bin/true does nothing, successfully. /bin/false does nothing, unsuccessfully.