ejoerns / poky-nfsroot

nfs-export-updater patches for poky
Other
1 stars 1 forks source link

use more generic os.getuid() for socket name #5

Closed ejoerns closed 6 months ago

ejoerns commented 7 months ago

The shell we run in might not have 'USER' env variable set. This is for example the case when using 'kas'.

Use os.getuid() instead which serves the same purpose and works in all cases.