Skip to content

Commit 26eeeef

Browse files
committed
Use default group instead
1 parent cc79d86 commit 26eeeef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ tftpd_start:
311311
sudo true
312312
@if sudo which atftpd >/dev/null ; then \
313313
echo "Starting aftpd"; \
314-
sudo atftpd --verbose --bind-address $(TFTP_IPRANGE).100 --daemon --logfile /dev/stdout --no-fork --user $(shell whoami) --group $(shell whoami) $(TFTPD_DIR) & \
314+
sudo atftpd --verbose --bind-address $(TFTP_IPRANGE).100 --daemon --logfile /dev/stdout --no-fork --user $(shell whoami) --group $(shell id -gn) $(TFTPD_DIR) & \
315315
elif sudo which in.tftpd >/dev/null; then \
316316
echo "Starting in.tftpd"; \
317317
sudo in.tftpd --verbose --listen --address $(TFTP_IPRANGE).100 --user $(shell whoami) -s $(TFTPD_DIR) & \

0 commit comments

Comments
 (0)