[X2Go-Commits] [x2goserver] 01/03: x2gosqlitewrapper.c: Fix rpmlint error: no-return-in-nonvoid-function. Return the exitcode of execve().
git-admin at x2go.org
git-admin at x2go.org
Mon Oct 13 17:08:52 CEST 2014
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch release/4.0.1.x
in repository x2goserver.
commit 1af926faeabf15b66e0e83f577fac1cbfbda710e
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Mon Oct 13 16:54:44 2014 +0200
x2gosqlitewrapper.c: Fix rpmlint error: no-return-in-nonvoid-function. Return the exitcode of execve().
---
debian/changelog | 2 ++
x2goserver/x2gosqlitewrapper.c | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 7f8126a..c59de3e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -20,6 +20,8 @@ x2goserver (4.0.1.19-0x2go1) UNRELEASED; urgency=medium
is also considered to be a SUSE system.
- Trigger Xsession code for SUSE systems (look for /etc/SUSE-brand for
SUSE system recognition).
+ - x2gosqlitewrapper.c: Fix rpmlint error: no-return-in-nonvoid-function.
+ Return the exitcode of execve().
* debian/control:
+ Add D (x2goserver): libfile-which-perl.
* x2goserver.spec:
diff --git a/x2goserver/x2gosqlitewrapper.c b/x2goserver/x2gosqlitewrapper.c
index 799118f..6084c4e 100644
--- a/x2goserver/x2gosqlitewrapper.c
+++ b/x2goserver/x2gosqlitewrapper.c
@@ -27,6 +27,6 @@ int main( int argc, char *argv[] ) {
argv[0] = "x2gosqlitewrapper.pl";
// execute the script, running with user-rights of this binary
- execv(x2gosqlitewrapper, argv);
+ return execv(x2gosqlitewrapper, argv);
}
--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git
More information about the x2go-commits
mailing list