systemd-detect-fash: A utility to detect problematic software

submitted by

github.com/systemd/systemd/pull/39285/files#dif…

systemd-detect-fash detects execution in a fascist environment. It identifies the fascist technology and can distinguish full machine fascism from installed fashware. systemd-detect-fash exits with a return value of 0 (success) if a fascism technology is detected, and non-zero (error) otherwise.

10
74

Comments are disabled.

10 Comments

Useless, you don't need a tool to tell whether or not you're running Windows.

 
47

I love both that it's even well written as well as the professional answer it got despite its nature.

 
17

created with a russian military email to create division

 
13
by
[deleted]

Deleted by moderator

 
30

returns 1

That just means the user is not an imbecille, there's still a great number of scenarios to rule out

 
6
by
[deleted]

Deleted by moderator

 
-9

no, exit codes work the other way round: 0 = success, !0 = error

 
23
by
[deleted]

Deleted by moderator

 
-9

Every time an exit code is a boolean, 0 is true. Shell scripting would be very annoying if this were inconsistent

 
16
by
[deleted]

Deleted by moderator

 
-16