All pastes #270704 Raw Edit

Anonymous

public text v1 · immutable
·published 2006-12-07 17:15 UTC
rendered paste body
diff -r 81c9213b3d39 tools/misc/lomount/lomount.c
--- a/tools/misc/lomount/lomount.c      Tue Nov 28 18:41:42 2006 +0000
+++ b/tools/misc/lomount/lomount.c      Thu Dec 07 11:14:56 2006 -0600
@@ -426,10 +426,15 @@ int main(int argc, char ** argv)
        if (verbose)
                printf("%s\n", buf);
 
+#if 1
+       printf("%s\n", buf);
+       return 0;
+#else
        status = system(buf);
        if (WIFEXITED(status))
                status = WEXITSTATUS(status);
        else
                status = ERR_MOUNT;
        return status;
-}
+#endif
+}