]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
skipcpio: return something at end of program
authorCristian Rodríguez <crrodriguez@opensuse.org>
Tue, 28 Jan 2014 19:41:08 +0000 (16:41 -0300)
committerHarald Hoyer <harald@redhat.com>
Tue, 29 Jul 2014 09:52:06 +0000 (11:52 +0200)
Otherwise the compiler emits a warning and the return vale is
in theory undefined.

skipcpio/skipcpio.c

index fbf391bf20e4ef362b334d2f92609736b9aa50f2..c9120617ab1adf3e61bb9cdad25c8d961e2bede4 100644 (file)
@@ -120,4 +120,6 @@ int main(int argc, char **argv)
                         break;
         }
         fclose(f);
+
+        return EXIT_SUCCESS;
 }