fclose(file);
sprintf(commandstring, "/bin/hostname %s.%s", hostname, domainname);
- if (mysystem(commandstring))
+ if (mysystem(NULL, commandstring))
{
errorbox(_("Unable to set hostname."));
return 0;
{
char command[STRING_SIZE];
sprintf(command, "/etc/rc.d/init.d/mISDN config");
- if (runcommandwithstatus(command, _("ISDN"), _("Scanning and configuring ISDN devices.")))
+ if (runcommandwithstatus(command, _("ISDN"), _("Scanning and configuring ISDN devices."), NULL))
errorbox(_("Unable to scan for ISDN devices."));
// Need to write some lines that count the cards and say the names...
return 1;