Projects
Kolab:3.4:Updates
389-admin
389-admin_restartsrv.diff
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 389-admin_restartsrv.diff of Package 389-admin
--- admserv/cgi-src40/restartsrv.c.orig 2013-01-17 00:21:44.000000000 +0100 +++ admserv/cgi-src40/restartsrv.c 2013-07-09 18:28:12.723412931 +0200 @@ -184,10 +184,10 @@ int main(int argc, char *argv[]) break; case 0: #if defined(WITH_SYSTEMD) - PL_strncpyz(line, sizeof(line), "/bin/systemctl restart " PACKAGE_NAME ".service"); + PL_strncpyz(line, "/bin/systemctl restart " PACKAGE_NAME ".service", sizeof(line)); restart(line); #elif defined(ENABLE_SERVICE) - PL_strncpyz(line, sizeof(line), "service " PACKAGE_NAME " restart"); + PL_strncpyz(line, "service " PACKAGE_NAME " restart", sizeof(line)); restart(line); #else if (util_find_file_in_paths(line, sizeof(line), "restart-ds-admin", CMDBINDIR, "../..", "")) {
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.