diff --git a/bin/auto b/bin/auto index ad9c7b7..c37548d 100755 --- a/bin/auto +++ b/bin/auto @@ -307,6 +307,14 @@ our $STARTTIME = time; say '* Auto successfully started at '.POSIX::strftime('%Y-%m-%d %I:%M:%S %p', localtime).q{.}; alog 'Auto successfully started.'; +# If we're on Windows, disable forking. +if ($OSNAME =~ /win/i) { + if (!$DEBUG) { + say '!!! Forking unavailable (OS is Microsoft Windows), continuing in debug mode.'; + $DEBUG = 1; + } +} + # Fork into the background if not in debug mode. if (!$DEBUG) { say '*** Becoming a daemon...'; diff --git a/install b/install index 8e8d246..d78e91d 100755 --- a/install +++ b/install @@ -62,8 +62,7 @@ if ($OSNAME =~ /dos/i) { exit; } elsif ($OSNAME eq "MSWin32") { - print "Microsoft Windows is not supported. Support is planned for the future.\r\n"; - exit; + print "OK\r\n"; } elsif ($OSNAME eq "NetWare") { print "NetWare is not supported.\r\n";