~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to timount/timount.c

  • Committer: mattgiuca
  • Date: 2008-07-15 09:18:02 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:877
pulldown_subj/__init__.py: Added "enrol_user" function which pulls down a user
    and also enrols them in the database.
Added script enrolallusers.py which scriptulously performs automatic
enrolments of all users in the system, similar to remakeallusers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
 
63
63
    openlog("timount", LOG_CONS | LOG_PID, LOG_USER);
64
64
 
65
 
    if (!(rootdir = opendir(argv[1])))
66
 
    {
67
 
        perror("could not open specified path");
68
 
        exit(1);
69
 
    }
 
65
    rootdir = opendir(argv[1]);
70
66
 
71
67
    while ((mp = readdir(rootdir)))
72
68
    {