Commits

Michał Górny committed 6015ac5

Fix handling empty argv.

Comments (0)

Files changed (1)

src/python-exec-c.c

 	const char* script = argv[1];
 	int symlink_resolution = 0;
 
-	if (!script && !script[0])
+	if (!script || !script[0])
 	{
 		fprintf(stderr, "Usage: %s <script>\n", argv[0]);
 		return EXIT_FAILURE;