fix variable name
[schsh.git] / makeschsh
index e728dc00dd27d46871ce74f4c620a1937fa6bf4b..b301c2d647c9d0c1a8605dba2579514955538dd9 100755 (executable)
--- a/makeschsh
+++ b/makeschsh
@@ -63,7 +63,7 @@ setup.fstab=schsh/{0}.fstab
                # Make sure ~/data (part of the fstab above) exists.
                if not os.path.exists(data):
                        os.mkdir(data)
                # Make sure ~/data (part of the fstab above) exists.
                if not os.path.exists(data):
                        os.mkdir(data)
-               shutil.chown(data, user, user)
+               shutil.chown(data, name, name)
                os.chmod(data, 0o640)
 
        # user configuration
                os.chmod(data, 0o640)
 
        # user configuration