]> 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>
Wed, 29 Jan 2014 07:32:17 +0000 (08:32 +0100)
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;
 }