/*
* Copyright (C) 2010-2011 Robert Ancell.
* Author: Robert Ancell <robert.ancell@canonical.com>
- *
+ *
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software
* Foundation, either version 3 of the License, or (at your option) any later
{
gchar *script;
static gchar *setup_script = NULL;
-
+
if (setup_script)
return setup_script;
setup_script = g_find_program_in_path (script);
g_free (script);
-
+
return setup_script;
}
NULL, NULL,
stdout_text, NULL, exit_status, error);
g_strfreev (argv);
-
+
return result;
}
g_debug ("Guest account setup script didn't return a username");
return NULL;
}
-
+
g_debug ("Guest account %s setup", username);
return username;