aboutsummaryrefslogtreecommitdiff
path: root/exec2
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-11-28 18:08:02 +0100
committerAlex Auvolat <alex@adnab.me>2022-11-28 18:08:02 +0100
commitcbde799457a8470cd64a09d10827577d005ca6f8 (patch)
tree04a6b7c445b6eb97c422a0ee1800fdfb8b73b8bc /exec2
parentbf3165a7069fc6dcf9ae3a28be3af07fe8b4e1c2 (diff)
downloadnomad-driver-nix2-cbde799457a8470cd64a09d10827577d005ca6f8.tar.gz
nomad-driver-nix2-cbde799457a8470cd64a09d10827577d005ca6f8.zip
Make symlinks work
Diffstat (limited to 'exec2')
-rw-r--r--exec2/driver.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec2/driver.go b/exec2/driver.go
index 3624c7c..b223faa 100644
--- a/exec2/driver.go
+++ b/exec2/driver.go
@@ -434,7 +434,7 @@ func (d *Driver) StartTask(cfg *drivers.TaskConfig) (*drivers.TaskHandle, *drive
user := cfg.User
if user == "" {
- user = "nobody"
+ user = "0"
}
if cfg.DNS != nil {