File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99)
1010
1111func main () {
12- fi , _ := os .Stdin .Stat ()
13- if fi .Mode ()& os .ModeNamedPipe == 0 {
12+ if fi , _ := os .Stdin .Stat (); fi .Mode ()& os .ModeNamedPipe == 0 {
1413 fmt .Println ("this app only works using the stdout of another process" )
1514 os .Exit (1 )
1615 }
Original file line number Diff line number Diff line change 99)
1010
1111func main () {
12- fi , _ := os .Stdin .Stat ()
13- if fi .Mode ()& os .ModeNamedPipe == 0 {
12+ if fi , _ := os .Stdin .Stat (); fi .Mode ()& os .ModeNamedPipe == 0 {
1413 fmt .Println ("this app only works using the stdout of another process" )
1514 os .Exit (1 )
1615 }
Original file line number Diff line number Diff line change 99)
1010
1111func main () {
12- fi , _ := os .Stdin .Stat ()
13- if fi .Mode ()& os .ModeNamedPipe == 0 {
12+ if fi , _ := os .Stdin .Stat (); fi .Mode ()& os .ModeNamedPipe == 0 {
1413 fmt .Println ("this app only works using the stdout of another process" )
1514 os .Exit (1 )
1615 }
Original file line number Diff line number Diff line change 99)
1010
1111func main () {
12- fi , _ := os .Stdin .Stat ()
13- if fi .Mode ()& os .ModeNamedPipe == 0 {
12+ if fi , _ := os .Stdin .Stat (); fi .Mode ()& os .ModeNamedPipe == 0 {
1413 fmt .Println ("this app only works using the stdout of another process" )
1514 os .Exit (1 )
1615 }
Original file line number Diff line number Diff line change 99)
1010
1111func main () {
12- fi , _ := os .Stdin .Stat ()
13- if fi .Mode ()& os .ModeNamedPipe == 0 {
12+ if fi , _ := os .Stdin .Stat (); fi .Mode ()& os .ModeNamedPipe == 0 {
1413 fmt .Println ("this app only works using the stdout of another process" )
1514 os .Exit (1 )
1615 }
You can’t perform that action at this time.
0 commit comments